Forum Discussion

retornet's avatar
retornet
Icon for Bronze II rankBronze II
2 days ago

APT29 Threat Hunting with Splunk: Ep.4 – Clean-up & Reconnaissance

I need help with Q6. Any hint please

The attacker launches a PowerScript useful for reconnaissance activities. What is the full file path of the executed script?
I searched (EventCode=4103 OR EventCode=4104) combined with powershell. 

2 Replies

  • Well, in this case you should narrow down the search, next step:
    (EventCode=4103 OR EventCode=4104) powershell .ps1

    Narrow down further, removing non relevant scripts:
    (EventCode=4103 OR EventCode=4104) powershell .ps1 NOT sample.ps1

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

      Thank you for your reply. I ran it like below and still having difficulties finding that script 

      (EventCode=4103 OR EventCode=4104) powershell AND "*.ps1" NOT ("psversion.ps1" OR "readme.ps1")
      | table _raw