Code Monkey home page Code Monkey logo

cmd-spoofing's Introduction

cmd-spoofing

使用该工具可使用伪造的命令行创建目标进程,被 sysmon 或 ETW 捕获的进程创建事件日志中将显示伪造的命令行,而不是实际执行的命令行,类似于 CobaltStrike 的 argue 指令。

用法

cmd-spoofing.exe "cmd.exe /c xxxxxxx" "cmd.exe /c notepad.exe"

效果:

x

注意:本质执行的还是同一个程序,只不过是参数的不同而已,所以要避免出现这种参数:cmd-spoofing.exe cmd.exe notepad.exe

编译

环境:Windows + VS2022 + CMake

可以直接在 VS2022 中打开编译,也可以使用 cmake 命令生成 build.ninja 进行编译:

cd cmd-spoofing
cmake -S . --preset=x64-release
ninja -C out\build\x64-release

cmd-spoofing's People

Contributors

0xlane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

axax002

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.