Forum Discussion

LewisMutton's avatar
LewisMutton
Icon for Bronze III rankBronze III
12 days ago

Trick or Treat on Specter Street: Ghost of the SOC

I know it's one of the challenge labs but I'm fairly sure I'm missing something extremely straight forward, it's 100 point difficulty 4.... Someone help me please! I'm banging my head against a wall with this one!

If anyone can point me in the right direction of the specific persistence mechanism I think that would be a start

Q8. Use the service account to delete the spirit's persistence mechanism. The methods you employ to gain access to this account are up to you.

29 Replies

  • This wasn't anything too suprising. A recusive search of the word svc (full name will be faster) will get you the creds you desire.

  • SamDickison's avatar
    SamDickison
    Icon for Community Manager rankCommunity Manager

    DG​ seems to be some sort of god-level challenge exterminator. I assume they can help you.

    • LewisMutton's avatar
      LewisMutton
      Icon for Bronze III rankBronze III

      Yeah, I got that, but I can't identify the specific instance of said persistence mechanism 😅

      • clowdier's avatar
        clowdier
        Icon for Immerser rankImmerser

        I see! If you've already brought up a list of all instances of that specific persistence type, and then reviewed the details for each one, one of them will look suspicious! 

  • Same here. How do I get access to the service account? Been trying for hours! 

    • clowdier's avatar
      clowdier
      Icon for Immerser rankImmerser

      Hey Yammmy​, could you share what you've tried and I'll try to give you a hint from there on? The credentials are hidden in a file on the haunted host :)

      • Yammmy's avatar
        Yammmy
        Icon for Bronze II rankBronze II

        Thanks! I tried reading the logs / using hydra / did a search on the haunted machine but couldn’t find anything useful 

  • maybe I was too radical, i've deleted everything which was not by windows :)

    Get-ScheduledTask | Where-Object { $_.TaskPath -notlike '\Microsoft\*' } | ForEach-Object {
      try {
        Disable-ScheduledTask -TaskName $_.TaskName -TaskPath $_.TaskPath -ErrorAction Stop | Out-Null
        Unregister-ScheduledTask -TaskName $_.TaskName -TaskPath $_.TaskPath -Confirm:$false -ErrorAction Stop
        Write-Host "Removed: $($_.TaskPath)$($_.TaskName)"
      } catch {
        Write-Warning "Failed: $($_.TaskPath)$($_.TaskName) — $($_.Exception.Message)"
      }
    }

    solved the lab and removed some services too much, but hey, .. to be on the safe side :)