Leveraging INF-SCT Fetch & Execute Techniques For Bypass, Evasion, & Persistence (Part 2) Logo

Leveraging INF-SCT Fetch & Execute Techniques For Bypass, Evasion, & Persistence (Part 2)

0
Free
Visit Website

Two weeks ago, I blogged about several “pass-thru” techniques that leveraged the use of INF files (‘.inf’) to “fetch and execute” remote script component files (‘.sct’). In general, instances of these methods could potentially be abused to bypass application whitelisting (AWL) policies (e.g. Default AppLocker policies), deter host-based security products, and achieve ‘hidden’ persistence. Additionally, a few other “fetch and execute” techniques were highlighted for situational awareness, and several defensive considerations were presented. If you have not already done so, I’d highly recommend reviewing Part 1 [Leveraging INF-SCT Fetch & Execute Techniques For Bypass, Evasion, & Persistence] before proceeding as we will revisit a few prior topics before presenting these INF-SCT methods: InfDefaultInstall IExpress IEadvpack.dll (LaunchINFSection) IE4uinit Revisiting Setupapi.dll (InstallHinfSection) and Advpack.dll (LaunchINFSection) Setupapi.dll (InstallHinfSection) – InfDefaultInstall.exe In their DerbyCon 2017 talk – Evading AutoRuns, @KyleHanslovan and @ChrisBisnett of @HuntressLabs presented several INF-SCT techniques

FEATURES

ALTERNATIVES

YaraHunter scans container images, running Docker containers, and filesystems to find indicators of malware.

Parse YARA rules into a dictionary representation.

YARA extension for Visual Studio Code with code completion and snippets

A PE/COFF file viewer that displays header, section, directory, import table, export table, and resource information within various file types.

angr is a Python 3 library for binary analysis with various capabilities like symbolic execution and decompilation.

Automate the process of writing YARA rules based on executable code within malware.

A tool to find XSS vulnerabilities in web applications

A developer added malicious code to a popular open-source package, wiping files on computers in Russia and Belarus as a protest.