MIT License

项目介绍

GeorgePatsias/ScareCrow-CobaltStrike 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 464 个 Star、70 次 Fork。

仓库全名
GeorgePatsias/ScareCrow-CobaltStrike
开源许可证
MIT License
Star 数
464
Fork 数
70
未关闭 Issue
3

README 摘要

Cobalt Strike ⇌ ScareCrow (EDR/AV evasion) EDR unhooking, Syscall loading, ETW/AMSI patch, Process Injection, Signed Loader, AES encrypt 💣 ScareCrow Options 📥 Clone the Project 🏭 Install ScareCrow Setup ScareCrow https://github.com/optiv/ScareCrow just by running the install.sh script. 🔧 Setup CNA Script Configurations Edit the ScareCrow.cna and replace the variables below accordingly. NOTE! Do not add the final…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ScareCrow-CobaltStrike 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 464 个 Star。

ScareCrow-CobaltStrike 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 ScareCrow-CobaltStrike 的源码?

可以直接克隆仓库:git clone https://github.com/GeorgePatsias/ScareCrow-CobaltStrike.git;安装与运行步骤见仓库 README。

ScareCrow-CobaltStrike 最近还在维护吗?

仓库最近一次更新为 2022年7月15日,当前有 3 个未关闭 Issue;Star 数为 464,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Cobalt Strike script for ScareCrow payloads intergration (EDR/AV evasion)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1068
价值分
345
活跃状态
活跃

语言占比

Python
Shell

Release

贡献者

README



Cobalt Strike ⇌ ScareCrow
(EDR/AV evasion)

EDR unhooking, Syscall loading, ETW/AMSI patch, Process Injection, Signed Loader, AES encrypt

💣 ScareCrow Options

-I string
    Path to the raw 64-bit shellcode.
-Loader string
    Sets the type of process that will sideload the malicious payload:
    [*] binary - Generates a binary based payload. (This type does not benefit from any sideloading)
    [*] control - Loads a hidden control applet - the process name would be rundll32 if -O is specified. A JScript loader will be generated.
    [*] dll - Generates just a DLL file. Can be executed with commands such as rundll32 or regsvr32 with DllRegisterServer, DllGetClassObject as export functions.
    [*] excel - Loads into a hidden Excel process using a JScript loader.
    [*] msiexec - Loads into MSIexec process using a JScript loader.
    [*] wscript - Loads into WScript process using a JScript loader.
-O string
    Name of output file (e.g. loader.js or loader.hta). If Loader is set to dll or binary this option is not required.
-domain string
    The domain name to use for creating a fake code signing cert. (e.g. www.acme.com) 
-injection string
    Enables Process Injection Mode and specify the path to the process to create/inject into (use \ for the path).
-noamsi
    Disables the AMSI patching that prevents AMSI BuffferScanner.
-noetw
    Disables the ETW patching that prevents ETW events from being generated.
-nosleep
    Disables the sleep delay before the loader unhooks and executes the shellcode.
-sandbox
    Enables sandbox evasion using IsDomainedJoined calls.

📥 Clone the Project

git clone https://github.com/GeorgePatsias/ScareCrow-CobaltStrike.git

🏭 Install ScareCrow

Setup ScareCrow https://github.com/optiv/ScareCrow just by running the install.sh script.

chmod +x install.sh
./install.sh

🔧 Setup CNA Script Configurations

Edit the ScareCrow.cna and replace the variables below accordingly. NOTE! Do not add the final / at the end of the paths!

#Path to the ScareCrow-CobaltStrike repository you just cloned.
$script_path = "/home/user/ScareCrow-CobaltStrike";

#Path to the compiled ScareCrow Go executable of the installation.
$scarecrow_executable = "/home/user/ScareCrow-CobaltStrike/ScareCrow/ScareCrow";

💀 Add the CNA script to Cobalt Strike

Cobalt Strike > Script Manager > Load > Select ScareCrow.cna

You will see the new menu item called ScareCrow on the top menu of Cobalt Strike.

Side notes

  • Run DLLs as following and slightly change the name of the exported DLL
    rundll32 example.dll,DllRegisterServer
    rundll32 example.dll,DllGetClassObject
  • Process Injection field must be defined with a single \ e.g C:\Windows\System32\notepad.exe
  • When signing the loader with microsoft.com, using them against WINDOWS DEFENDER ATP products may not be as effective as they can validate the cert as it belongs to them. If you are using a loader against a windows product possibly use a different domain.

📖 Screenshot

📖 References

"Buy Me A Coffee"

评论

暂无评论