CreateRemoteThread API and LoadLibrary

testmedium
log source: windows · create_remote_threadauthor Roberto Rodriguez @Cyb3rWard0gdate 2019-08-11
01

description

What this is, in brief.

Detects potential use of CreateRemoteThread api and LoadLibrary function to inject DLL into a process

02

tags

attack.privilege-escalationattack.stealthattack.t1055.001detection.threat-hunting
03

rule source (YAML)

title: CreateRemoteThread API and LoadLibrary
id: 052ec6f6-1adc-41e6-907a-f1c813478bee
status: test
description: Detects potential use of CreateRemoteThread api and LoadLibrary function to inject DLL into a process
references:
    - https://threathunterplaybook.com/hunts/windows/180719-DLLProcessInjectionCreateRemoteThread/notebook.html
author: Roberto Rodriguez @Cyb3rWard0g
date: 2019-08-11
modified: 2024-01-22
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1055.001
    - detection.threat-hunting
logsource:
    product: windows
    category: create_remote_thread
detection:
    selection:
        StartModule|endswith: '\kernel32.dll'
        StartFunction: 'LoadLibraryA'
    condition: selection
falsepositives:
    - Unknown
level: medium
04

detects techniques (1)

ATT&CK techniques this enables or maps to.

05

references

External citations — patches, advisories, analysis.