mirror of https://gitlab.com/curben/blog
feat(threat-hunting): Regasm.exe execution
This commit is contained in:
parent
556ee14d9f
commit
f2b06016c1
|
@ -1159,6 +1159,19 @@ SPL:
|
|||
| table Time, index, host, EventCode, EventDescription, process, user, Name, Email
|
||||
```
|
||||
|
||||
## Regasm.exe execution
|
||||
|
||||
References: [1](https://www.microsoft.com/en-us/security/blog/2025/03/06/malvertising-campaign-leads-to-info-stealers-hosted-on-github/#third-stage-exe-analysis), [2](https://lolbas-project.github.io/lolbas/Binaries/Regasm/)
|
||||
SPL:
|
||||
|
||||
```spl
|
||||
| tstats summariesonly=true allow_old_summaries=true count FROM datamodel=Endpoint.Processes WHERE index="windows" Processes.process_name="regasm.exe" BY index, host, Processes.signature_id, Processes.signature, Processes.process, Processes.user, _time span=1s
|
||||
| rename Processes.* AS *, signature_id AS EventCode, signature AS EventDescription
|
||||
| eval Time = strftime(_time, "%Y-%m-%d %H:%M:%S %z")
|
||||
| lookup ad_users sAMAccountName AS user OUTPUT displayName AS Name, mail AS Email
|
||||
| table Time, index, host, EventCode, EventDescription, process, user, Name, Email
|
||||
```
|
||||
|
||||
## Regsvcs.exe process injection
|
||||
|
||||
Description: regsvcs.exe executing without any command-line parameters
|
||||
|
|
Loading…
Reference in New Issue