feat(threat-hunting): Regasm.exe execution

This commit is contained in:
Ming Di Leom 2025-03-08 07:23:15 +00:00
parent 556ee14d9f
commit f2b06016c1
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 13 additions and 0 deletions

View File

@ -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