Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
github.com/brimstone/obfuscate-xor
A little toy to encode strings with other strings. The point of this is to hide a string "under" an expected string in a binary or script.
Usage of ./obfuscate-xor:
-language string
Language for output (default "go")
-matches int
Number of matches (default 10)
-plain string
Plain text to hide (default "AmsiScanBuffer")
-wordlist string
Wordlist for cover text (default "words.txt")
$ ./obfuscate-xor
// Helper xor function:
func xor(input string, key []byte) (output string) {
for i := 0; i < len(input); i++ {
output += string(input[i] ^ key[i%len(key)])
}
return output
}
// Covers:
AmsiScanBuffer := xor("sysblocktraced", []byte{0x32, 0x14, 0x0, 0xb, 0x3f, 0xc, 0x2, 0x5, 0x36, 0x7, 0x7, 0x5, 0x0, 0x16}) // AmsiScanBuffer
$ ./obfuscate-xor -language powershell
# Helper xor function:
function xor {
Param(
[Parameter(Position = 0, Mandatory = $True)] $plain,
[Parameter(Position = 1, Mandatory = $True)] $key
)
$r = ""
$plaintext.ToCharArray() | foreach-object -process {
$r += [char]([byte][char]$_ -bxor $key[$r.Length % $key.Length])
}
return $r
}
# Covers:
$AmsiScanBuffer = xor -plain "sysblocktraced" -key @(0x32,0x14,0x0,0xb,0x3f,0xc,0x2,0x5,0x36,0x7,0x7,0x5,0x0,0x16)
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.