Comments (7)
Can you provide an example command line you're using? I'm not able to reproduce this...
e.g. $ python SharpShooter.py --stageless --dotnetver 4 --payload hta --output foo --rawscfile ./raw.txt --sandbox 4 --smuggle --template mcafee
This generates a v4 payload - you can tell by enabling the print on line 537, where the created output uses Wscript.shell.
from sharpshooter.
Using the syntax above I confirm that the output is .net version 4.0 as the print statement shows the use of WScript.Shell.
However this triggers the prompt for .NET Framework 3.5 installation on a fresh Windows 10 install.
This can be remediated by replacing your SetVersion sub with the one in Vincent's commit 12 days ago here: vysecurity/CACTUSTORCH@9527c13
This bypasses Sophos, ESET etc. but Windows Defender picked up on execution of the output HTA from the above exercise. I'm not sure at this stage what it flagged on.
from sharpshooter.
I'll give the setversion stub a test and see how it fares.
In terms of defender, you may want to review #9. This should be a case of just using some opsec shellcode, or using the encrypter referenced in the issue.
from sharpshooter.
Looks like #9 is the Defender issue - thanks.
Feel free to close if the setversion prevents the .NET Framework popup š
from sharpshooter.
Tracked this down and fixed in this commit d9750be
from sharpshooter.
Thanks @SSATKINS
from sharpshooter.
Sorry about adding this to issue 8 but seems the closest to what i'm getting.
Using a fresh span up Win 10 from developer.microsoft.com Build 17763.rs5_release.180914-1434
python SharpShooter.py --stageless --dotnetver 4 --payload hta --output foo --rawscfile /root/Desktop/payload.bin --sandbox 4 --smuggle --template mcafee
Iām getting the following error on my Win 10 VM.
- An app on your PC needs the following Windows feature:
- .NET Framework 3.5 (includes .NET 2.0 and 3.0)
The HTA works fine with Windows 7.
from sharpshooter.
Related Issues (20)
- Is this project still under development?
- clean pull of the src does not appear to work with python 3 on stock kali HOT 2
- [!] Missing --dotnetver argument HOT 1
- jsmin help HOT 1
- Correct Reg path for AMSI commit? HOT 1
- custom payload
- Detected defender win10 HOT 2
- Not able get a meterpreter session back to Kali VM from Win10 client (Defender OFF)
- Does not appear to work with reverse_http HOT 2
- Run with metasploit multi/handler HOT 2
- installing error HOT 15
- .Net v4 compatibility issue from VBA/macro
- .HTA file execution doesn't call back HOT 2
- Make executable.
- Encoding issue with Python3 HOT 3
- Missing license information
- Inconsitent use of tabs and spaces in modules/excel4.py HOT 5
- Request: Update for Python3 HOT 1
- Error installing HOT 4
- initial_value must be unicode or None, not str HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharpshooter.