I
IdiotZ42.0
Guest
TrojanDropper:PowerShell/Cobacis.B threat description - Microsoft Security Intelligence
#example.ps1
function Cript($Key, $Text) {
$x=0;
$y=0;
$CriptStr='';
for($x=0;$x -lt $Text.Length; $x++){
$y = [Byte]$Text[$x] -bXor [Byte]$Key[$x % $Key.Length]
$CriptStr += '{0:x2}' -f $y
}
return $CriptStr.ToUpper()
}
More...
#example.ps1
function Cript($Key, $Text) {
$x=0;
$y=0;
$CriptStr='';
for($x=0;$x -lt $Text.Length; $x++){
$y = [Byte]$Text[$x] -bXor [Byte]$Key[$x % $Key.Length]
$CriptStr += '{0:x2}' -f $y
}
return $CriptStr.ToUpper()
}
More...