From codeuu,source code
This code will hook any api of your chose and allow you to redirect it to another qualified function. This code can be used in conjunction with my other posts dealing with process injection to hook api's in other running processes.
This project allows you to replace an existing DACL(Discretionary Access Control List) within a process. When you do so, you have the power to restrict certain capabilities like terminating, getting a handle to the process, reading memory, writing memory, etc. This example stops all access to the process from any other process of lower privileges. Always remember that this can be subverted by a NT AUTHORITY\System owned process. This just stops the common user from closing your process. Thanks everyone for your support. If you like this then drop a line, and don't forget to VOTE and show me what you think of my work.
This is the simple virus scanner which shows the basic functionality of an antivirus.
This is not really meant as a repost of the one Jared Bruni did (there are some similarties, I admit...only in two cases); this is more of a demonstration of a more efficient way to perform the same task (i.e. no dynamic memory required and writting directly to the file). And, just to keep things a little interesting, this one can delete stuff from a list containing filenames. Vote/Comment/whatever, just keep the "you stole someone else's idea" stuff/flames (which I didn't) to a minimum, k?
This is a simple passowrd program that prints '*'s at the prompt. *UPDATED* Now the code allows you to use the 'backspace' key. Please leave feedback and let me know what you think.
This is a programm (written in Assembler) that saves a file on a disk in RAW format, without FAT or anything. This means that data will be saved on your disk but it will be able to read only by your programm.
This is an article together with a small program which demonstrates how to capture Win2K account passwords via the Autologon feature.
This is just a basic encryption program. It works
Encrypts and Decrypts a file. This is not an "uncrackable" type of encryption but once you can understand the basics of
Author: Ayo George
This is a smart bitwise encryption tool. It will shift right 4 bits your file into an output file. So if the bytes of your file are like A5 8C 3F they will be converted to 0A 58 C3 F0.
This code tells the user to input a message, up to 100 characters. It then inputs a 3-digit key and encrypts the message with the key.
this programm is a command-line-file-crypter usage: krypt "filename" "keyword"
This program will encrypt or decrypt a file of the users choice
it illustrates cryptography technique using letters - using manipulating string ( Vowels and Consonants).
it encrypts txt & cpp files(others maybe) and creates a KEY in //your floppy disk
Have you ever fogot a password, but it is still inside your program, only that it is hidden with astricks? This source will show you how to remove those astricks and show whats really there. (see screenshot)
This program is a Dos based program.Many of us would'nt want other to peep
This program is for those taking biology. I got tired of making Punnet squares in class, so I made this program. It will logically set up a Punnet square and output it. It is quite intimedating when you first look at it, but it's easy to understand. Not only does it do your class work, but you touch up on your C++ too! If you know anything about File I/O email me at tanis0429@lycos.com
This class is a psuedo-random data generator. It manages the random pool automatically. All you have to do is feed it data, and retrieve the generated output. It's fairly secure - it makes use of the MD5 algorithm. (Disclaimer - Nothing is perfectly secure, so don't blame me if you use it and then someone cracks it and your arch-enemy decrypts your phone bill.)
A file that replaces the old coder.c. Thanks to Brett Taylor. Found at http://www.cprogramming.com/source.html
Simple Encryption Program that writes the password to a file. Later reads that file and compares the string with the users input.
It check and add wht date/time your last login into chklog.log file. So you will know who use your computer.
This program will set itself up into your computer using batch files the first time it is run. It keeps track of everytime your computer is run and logs the time and date into a file. The program is password protected and the password is encrypted for your protection. The compiled Exe and other can be found at my web site: http://www.mcarterbrown.com
This is yet another OTP (One Time Pad) encryption program on Planet Source Code. I have seen lots of these in Visual Basic (and one in straight C), but none in Visual C++/C++ so I decided to try and make one. Included in the .ZIP is the encrypting and decrypting software code. Also included are the sources I read to make this. This program takes a text file (or bitmap) and encrypts it. The output is an encrypted file and a pad (which are the SAME size). To unencrypt, all you have to do is run the decryptor using the two files generated. More instructions are given in the download! Since this is my first encryption attempt, I WELCOME any constructive critisism (i.e. tell me where I went wrong, or point me to an article I should read). TIA!!!
I really enjoy all the Net() api functions so in trying to learn C++ I started with the ChangePassword API call. I simply wanted a dll which would encapsulate this function so that a vb user could make a very simple call to change domain passwords. Only tested on Windows 2000.
Encrypts a file using XOR bitwise operators.
This is a command line password generator written in C. You can generate a random password consisting of uppercase & lowercase letters, digits and symbols. Run without parameters from the prompt to see the help. Compiles and runs using gcc in Windows and Unix.
It asks 4 a username and password and if u typ them correctly you've got acces.U can try 5 times.After the 5 times it wil shutdown(also if u typt it correctly lol).
This is a NON MFC version of the code uploaded by
This is an early version of the new password program I am working on, it saves
I'm not taking credit for this. This was originally Roman K's submission. A great program I might add that will help beginners understand encryption and input / output. I made a few changes to it and added a password protection. The password is "outlaw".
This is a simple, data-morphic, simgle pass, 64-bit, encryption engine. It will encrypt any file. It takes a key file as the encryption key. Don't ask me to decrypt any files if you lose the key.
encoding a text
another encryptin algorithm
It is a caeser cipher decrypter and encrypter
This is my first submission. It is a text encrypter.
Encrypt / Decrypt text inputs. In this application you can enter some text and encrypt it. After encryption you can save it in a file. If you want to decrypt it you can do it by copying the encrypted text in the box provided and press decrypt button and now you have the decrypted text. I am just a beginner in VC++. Rate me if you like the code.
This program will remove all of Boot Sector & Partition Viruses, incl. saving your partition/boot sector and compare it. This can also remove dual Boot bug Partition problem.
The program created by Borland C 3.1. The program is a simple security systen for dos.
encrypt sample text file using DES standard after we can decrypt it.
This code Check the Security of a site Like checking for Password vulnerabilities and such...
The program can encrypt *ANY* file of *ANY* length in DOS....asks for a password and embeds it in the file itself...uses a complex encryption algorithm which i designed myself. A random number is used as key which in turn in encoded and embeded in the file itself.
The encode program allows you to type in a message and it will scramble it to a char file and a key file. The decode program takes the two files and decodes your message.
Encrypt user name and password in pas.txt to enc.txt.
This is the program for mainly encryption purpose. Here I am using the technique that will encrypt the file mainly two times and then it will compress the file with LZW technique with backspace password support. It wont work if the password is wrong or wrong encrypted file.
Encrypt a file and decrypt it again.
as the name says, it's another encription code
YOU ARE PERMITTED TO USE THIS IN YOUR CODE.PLEASE DO NOT DISTRIBUTE THIS
It encrypts a file so as to keep your data private and then you can decrypt it also to return it back to its original form.
This is a GUI encryptor program written in Dev-C++. It uses no MFC. When it encrypts files, it encrypts them into stand-alone executable files that you can take with you wherever and execute (and enter the password you entered to began with) to decrypt.
With NTFS partitions, intruders can hide their toolkits behind a 'front file'. Explorer and DIR only show the front file and the size of the front file, leaving no clue as the hidden 'back streamed' files.
This program will take a file you input, and convert it to an encrypted file thanks to the use of a key. It will then save the encrypted file. You can also decrypt a file that was previously encrypted, and save it to another file.
A Kinda slow port scanner, But is good if you want to learn how to use a port scanner, or learn how a basic CONNECT port scanner works.
fksh stands for fake shell, but it's actually it just sets up a jail shell using chroot()
It Encrypts and Decrypts a file with an encryption key that the user inputs.
It Encrypts and Decrypts files with a user inputted encryption/decryption Key.
It encrypts and Decrypts files with a user inputted encryption/decryption key.
It Encrypts and Decrypts files with a user inputted encryption Key.
Simple program that Encrypts and Decrypts Files
This program Encrypts and Decrypts files.
HYDE CAN HIDE FILES AND FOLDERS.THERE ARE A LARGE NUMBER OF CODES AVAILABLE BUT THIS ONE IS SMALL AND DOES HAVE USEFUL COMMENTS
encodes text messages to any other type of file. for instance you can encode a msg inside a .BMP file. You can still look at the bmp and it looks normal, but the text is hidden inside.
Example of how to stream data behind a "facade" file. Stream 1M behind a 1K text file, and explorer/DIR still shows the file to be 1K. According to "Hacking Exposed 2ED" there is only one application that can find these streams.
The purpose of making this progie is just to show how real bug scanners work. The software scans all the webserver related bugs for IIS, unix, and cgi. For more details check out http://www.hackersprogrammers.com
This software is an update to the last version which was very limited in it's functionality. Whenever you tried to inject a process into another process that was using the required ImageBase, VirtualAllocEx would fail and cause the injection to fail as well. Well i fixed this problem by rebasing every address within the relocation section of the executable. And by doing this I came up with a way to inject an executable into *ANY* process that you have privileges to inject into. Now a days linkers by default leave out the .reloc section because it is not needed for an .exe. So for this to work you need to use the switch for your linker that will turn on the relocation section output. Thanks for your patience, and most of all thanks for your vote.
This code deletes the Kak Worm Virus. See http://www.geocities.com/nozza_prog/kak/ for more details. The interface is very minimal, its not an interface demo.
This is simple code for login into some program or OS, like Linux.
it locks any folder on the computer.After locking no one can open,delete,cut,copy,rename your folder.
Many security devices (firewalls, etc.) update regularly to a log file (generally .txt or .dat). However, there is no way of knowing if these devices crash or go into a hang. This Win32 multithreaded application monitors the log files to make sure that they are updated at a user-defined interval. If a program goes into a hang, then it will stop modifying its log file. It displays the status (updating or hanging) on the GUI and also sends an email alert to the appropriate person. It can monitor files on either a Windows network (i.e. \\node\folder$\file.txt) or on your own hard drive.
Manipulate logfiles (wtmp/utmp/wtmpx/utmpx/lastog) under unix. Lets you remove and manipulate user, hostname, time loged in and much more!
Linux Kernel Module (Highjacking getdents/open syscall)
Scans IDS log files for potential attack signatures.
Mantiene unas cuentas de usuario y solo te permite accesar al sistema de menus sis tiene una cuenta con login y clave, a la vez que encripta el archivo de cuentas de usuario cada vez que se usa o se sale del sistema
Just an example of a typical signature based virus detection using known hex signatures. Scans files in folders using Memory Mapped Files (MMF). Able to detect accurately 4 viruses: Win32.Cabanas, Win95.SKA, Win95.Anxiety and Win95.Lorez
hello,
this is a special console based utility which will calculate the Message Digest, Base 64 Encoding and Decoding, Checks the Message Digest and give output through file or through screen Special logic has been developed for BASE 64 Encoding and Decoding. It gives support to overall 16 algorithms.The Implementation will help for persons who want to study the working of Hash Functions Deeply.
This is an ATL Component that run application impersonating a user (es. I'm a domain user and can run application as domain admin if I know user and password) is very usefull for terminal server or internet server site. there is also a vb prog. to test a component. Let me know.
Code consists of two utilities. One will produce a batch file for later execution of tracert along a range of ip addresses. Once you run the batch file (piping the output to a file), the other utility will create tabulated output suitable for database import. You could use this to dynamically map your entire lan.
Demonstrate how to spawn a shell on a remote computer bound to a port. If u like it, please VOTE!
This app will map the hop points to a range of ip addresses from your workstation. It contains the guts of the Network Topology Mapper I uploaded a month ago. It uses the output of tracert to create a delimitted output file that can be imported into the database of your choice.
This is just a small utility to enable/disable default drive sharing on Windows NT/2000/XP systems. This program will disable sharing of the default C$, Admin$ and all other auto-shares hosted by the Server service.
To remove those annoying profile editors. (EX: Whoaaa...Look at what i found Click here, I can't beleive i found <screenname>'s picture click here, Happy Holidays) This is basically the real uninstaller. :-D Before, if you plan on using it,you compile it and run it press CTRL + ALT + DELETE and goto processes. If the process B.exe or BBB.exe is running, end it. Then run the script
Easy to use encription to code a text.Short source code but it's really efficient.It uses binary operators to encrypt a text you input from the keyboard
This is a JPEG picture encrypter/decrypter. It uses my own algorithm to encrypt JPEGs with a password so when viewing them in ANY picture viewer, the user only sees the logo of Not-For-Your-Eyes JPEG. I've included the description of the algoritm(Encode-Decode.info). Very easy to understand, but hard to crack(i think) due to the use of BlowFish and MD5 algorithms. The UI uses MFC. You can download the binaries and some of my other programs from my homepage (http://msi.uw.hu).
This program written in C++ is an example of basic encryption. The program read and write the file in binary mode. The user will input his password and the program will compare the encrypted password.
to get knowledge about how to hide password from others when you are using "C" language.
Updated version, I changed the way it handles the NULL characters added at the end of encrypting the last block in a file (to even it out as a full block), so it now works perfectly on all the files i have tested it on. I also added the functions to preform a self test, and encrypt/decrypt a file into the Phoenix class. Original description: This is my first attempt at creating a block cipher encryption algorithm. This application is more for the algorithm than the looks of it (e.g. how it gets/displays text from/to the user). This is a Block Cipher encryption algorithm. Fore information on how exactly it works, see the commented section in the main.cpp file. In the main.cpp file I created a couple functions to use the algorithm to encrypt and decrypt a file, and a third function to preform a "self test". If you look in the file "constants.h" there are a few configurable options (like, the number of cycles, currently set to "10". if you increase the number, the process gets slower, but more secure.) I tried to comment the main.cpp file as to what everything is doing, the rest of the project is slightly commented, but not much. This was successfully compiled with Code::Blocks v8.02 using MinGW GCC compiler. This is alpha version 1.4, if you have any questions or comments, feel free to leave a comment. Update: This version has a fix with the way it handles the NULL characters at the end of a file during decryption.
This program generates good passwords by way of a system, you enter a root word and it changes every other letter of the word to its integer value, if the resulting integer value is >10 its subtracts 10 from the result. If the resulting integer value is >20 it subtracts 20.. So O(15) and Y(25) would both produce a 5.. a==1 b==2 c==3 etc.. z==26 If you enter 'redundant' as your root word it will spit up 'r5d1n4a4t' which is, if you ask me a very secure password which you dont have to remember, all you have to remember is your root word. =)
This is the second password generator I've developed.. This one uses another system. You enter a consanent to begin the password and the length you'd like. It produces a potentially easy to remember password that you wont find in any dictionary, it does this by generating consanent vowel consanent vowel consanent, etc.. This makes the word pronouncable(in most cases).
It locks a windows 98 users computer when they are not using it it disables (ctrl-alt-del) an blacks the screen apart from the 'enter password' box thats moves around the screen if the password is entered incorrectly 3 times the users computer is shutdown. It also has a change password function.
This source is an example of a pretty basic form of password protection. You set the password in the source before you compile the program. When you compile and run the program, the MS-DOS console will pop up and prompt the user to enter the password, that you have set in the source code. If the password is correct it will display a certain message, if the password is wrong it will display a diffrent message. The main reason for this code is to help boost your knowledge, so you can design more complex password protection programs in the future.
This is a windows protection program(password protection) with a cool graphical interface and some cool sounds. The program is written for Windows 98, but it works OK with Win 2000 to. When you first start the program it will search the Windows\System (or Winnt\System) directory for the password file, if it doesn't find it, it will bring up a dialog (simple no graph) to insert the username and password. If you have done this the program will write itself in to the registry, and it will restart the computer. Now, when the OS is loaded the program will be loaded at the startup process and it will bring up a window with a pattern background, this window can not be minimized or hidden (in win98 the CTR+ALT+DEL is disabled, and the start menu is hidden so you can start nothing without logging in - I haven't done this for Win2000, but I will write this part soon). You have to press the left mouse button to reveal the login dialog (a graph dialog). If you have entered the username and password correctly you will be able to use Windows (and a message is displayed with some sound backup), if you have entered an incorrect password or username the program will prompt to enter the username and password again.
PassKeep v3.0 will keep all your usernames and passwords in a password protected, encrypted file! Keep important information away from peering eyes! Both the log and password are encrypted. Visit my webpage for a compiled exe and more: http://www.mcarterbrown.com
It scans all ports of a host.
This program showcases the traditional functions of a password program. You can enter a password and stars will appear. The backspace key is well accounted for unlike many password programs i have seen. Also the password is saved in crypted format in a file which gives the user the option to change it.
Allows the user to generate a specific type of password. Options are uppercase letters, lowercase letters, numbers, and symbols. Size is variable.
This programm sniffs connection between 2 hosts, and shows the source-ip/port, dest-ip/port, Flags,and the Packetdata(payload). It is a nice example for rawsockets with winsock.
This is an example how easy it is to manipulate the execution flow of an Pe-file (.exe)
Passwords r storing at Ptotected Storage in 2k,xp,
It provides password protection to any project
Facilitates password checking and password history among other things for Solaris via PAM
This program takes a password and replaces it with * while typing it. It features deleting and password length limits.
A function and header that when added to your program will password it so only people who know the password will be able to fully access the program
Ok, this project work by copying an entire process directly into anothers memory space. This will not work on all running processes because the ImageBase required by the injector executable maybe already Allocated by the process, therefore causing the VirtualAllocEx to fail. If you were to make this work on all process you would first have to rebase the injector in memory, then inject it. I hope this has answered your question to why this fails on most processes. The default imagebase for an executable most of the time is 0x400000 which is available in Explorer.exe, so i chose to use that process as my example.
Most of the programs in windows run through their short cuts provided in the start menu or on the desktop. This program tells you how to create your own customized shortcuts which have a password prompt.
UPDATED: UI and DLL
This one reboots your system...read more in readme.txt
In developing my own Block Cypher encryption algorithm, I needed an SBox, and its inverse. I then went searching online to find some source code that could generate one for me, but found nothing, so I wrote this. This is a function that will output an SBox and Inverse SBox into a specified file, it also writes it out in a way so that you can just copy/paste it. I thought that I would post this on Planet Source Code so that other people searching for an SBox generator would not have to write their own. I successfully compiled and ran this program with Code::Blocks v8.02 IDE with MinGW GCC compiler.
protect ur computer from unautorised user by adding this program to ur autoexec.bat file
This is a small c based server which only prints out the data it gets
This program will make the self executable encrypted file. Here the encrypted file will be created as it would be self executed will will ask for desination file name and password. It has alla the features of Encryptor$~$- my other encyption tool.
Just a simple Win32 PE encryptor which encrypts/decrypts the code section of a PE image. Uses CRC32 to obtain the encryption key and then Xored with the plaintext. This app should give you a hang of manipulating/playing with pointers in C.
Update over v1.0. Added PE header encryption/decryption and some minor changes
it will delete the Spam mails from ur pop3 inbox,
This program will test one of my theories about text encryption. This will basically just increment the integer value of each character in the file, and convert it back to a character. Although it's a very simple algorithm, and has room for improvement, it's quite effective for sending e-mails and the like.
Greek Security related howto about stack based buffer overflow bugs (linux/x86)!
Encrypt any file
Encrypts a String with a Key. Very basic. Shouldn't be used for serious security. Is supposed to teach you the basics of encryption and how XOR works.
can be used for encryption
This tool disables, the Windows File Protection(SFP), by patching
Article describes how to create the basis for a file system spy application.
This program and DLL uses a low level Windows hook to capture key strokes and save them to a file. The program is just made to demonstrate how the DLL works, and wouldn't be a very good key logger, but a key logger could certainly be made using the DLL.
There are two separate modules encode and decode .
THIS IS FOR ENCRYPTION TECHNIQUE AHICH HELP TO KNOW CYPHER TEXT FROM PLAIN TEXT USING TRANSPOSITION ENCRYPTION
The Plumber is a password recovery program that uses a dictionary attack to obtain a lost password.
This program is my attempt at encryption. It's fairly secure, I think. It's definitely not a professional job, but it'll do. I devised a funky key representation/generation scheme. Check it out! Read the documentation for much more detail on how to operate it. (Tomb.txt)
This is a professional level app. I wrote it as shareware, but for fellow coders.. well it's all yours. It finds all shares on a domain. then the creeper will search these shares for files that the user defines in the GUI. once found, the app will dl them to your local system. - You can also use it as a security tool to determine how many unsecured shares are on your domain.
Shutdown the Computer running the program after a certain time. the program displays a little window using MFC with an edit box, a button, a timer, and a static showing how many times you can enter the password into the edit box before the edit box disappears. if the PW is correct, the program exits. if the time runs out, the computer shuts down. Also, on shutdown, creates file with date. On running next time, if date is the same as in file, shuts down immediatly.
Its a simple Tic Tac toe game with graphics and it is very usefull for the beginers and if you find it usefull then plz do mial your comments about the code at fastqasim@hotmail.com.
This code shows an example of how to hide multiple streams behind a facade file. You can stream 1MEG behind a 1K file and the 1K file stays the same size. The timestamp does change, but that's easily ammended. -- According to "Hacking Exposed 2nd Edn" there is only one available piece of security software that can detect these multiple streams, and they went out of business. -- You can also stream a file manually if you have NTRK (nt resource kit). The syntax is "cp src target:stream". Then you can execute the streamed file like this "start target:stream".
this is only one line code and show the basic activities of an antivirus.
This program provides a framework for heuristic detection for 32-bit PE viruses. It uses static heuristics as well as string scanning. Parts of the higher level modules are coded in Borland C++ while the core modules in x86 Win32 Assembler.
Describing the basic concept of Wpcap..
This code demonstrates how to lock a user's computer and prevent the ctrl+alt+del key strokes to close an app. The program blacks out the screen except for a small 'enter password' box that moves around the screen at ten second intervals. The system is not extremely secure as it stores the password in a text file (c:\pdata.old), but once it is loaded, it cannot be closed without the password. See this code if you want to stop people using your computer while your away, or wish to write a more secure system.
An api spy in win32, unmasks passwords and gives you lot of information on the system. (like windows dir, system dir, os info etc.)
It can load a text file or take typed text and encrypt it using a very simple algorithm. More MFC stuff for school. Hope you like it
Winkey Update... It automatically set in your Autoexec.bat file. Only for Win9x..Please rate it..Thanks.....
This project is a DLL that will allow you to implement the BitCrypt algorithm. This algorithm has many benefits and very few drawbacks.
Benefits:
Use of two methods to securely encrypt data
Easy to use interface using basic string types
Binary safe
Use of MD5 and other key expansion techniques to pool secure key data
Stream cipher capabilities
Drawbacks:
Internal structures need a bit of tweaking for speed
Please vote if you find this useful.
It encrypts a text message of no longer than 255 characters by using an encryption table to a file. another person then decrypt the text file in to the original message.
This article will show you that .exe files built in C++ can reveal their password(s) to anyone.