background preloader

Linux and Security

Facebook Twitter

Scanmem. Scanmem is a simple interactive debugging utility for linux, used to locate the address of a variable in an executing process.

Scanmem.

This can be used for the analysis or modification of a hostile process on a compromised machine, reverse engineering, or as a "pokefinder" to cheat at video games. Features Interactive command mode, with online help. Specify target value exactly, or using abstract "higher" and "lower". Supports variable width targets. Example You can use scanmem to cheat at nethack (on systems where nethack is not installed sgid), here is an example session finding and setting my gold to an arbitrary value. $ scanmem --pid `pidof nethack` info: attaching to pid 17907. info: maps file located at /proc/17907/maps opened. info: 17 suitable regions found.

The 0 in the scanmem prompt indicates there are no known matches, so I enter my current gold level (12 pieces) and ask it to search for possible matches. Excellent, only one possible match. Download License Contact. Changing a process’ file descriptor on the fly « On the third side. I come back to a specific problem every once in a while: Changing a program’s file descriptor while the same program is running.

Changing a process’ file descriptor on the fly « On the third side

From time to time, we do stupid things, like running a very important shell command, and adding debug output to see that it works, then realizing that it will take hours to finish, and spitting gigabytes of debug to an xterm through ssh does not help. An other typical example could be a finding an ill managed system with some daemon without proper logfile handling. Restarting that process right now is just out of the question, copy-truncating that 16GB logfile will take too much time, and by the way, the disk is almost full. After a hint from the ever helping kjetilho, and a Google search, I ended up with what seems to be a well-known trick, but I did not know about it till now. Welcome to the dark side of gdb. With the power of gdb at your hand, you can hook into the inner parts of any running program, and change, well, virtually anything. . #! Ls -l /proc/$pid/fd. 6 Resources And Tutorials On Kali Linux. 1. Kali Linux by Beginner Hacking - blog A part of beginners hacking blog, the post is a complete and well explained guide atleast for beginners.

So if you have just installed Kali Linux and willing to learn the basics, here's where you should head. Linux Sysadmin CentOS 6 Course Helps You to Master the Tools, and Configure it Right. Linux provides several powerful administrative tools and utilities which will help you to manage your systems effectively.

Linux Sysadmin CentOS 6 Course Helps You to Master the Tools, and Configure it Right

If you don’t know what these tools are and how to use them, you could be spending lot of time trying to perform even the basic administrative tasks. The focus of this course is to help you understand all the basic system administration tools, which will help you to become an effective Linux system administrator. This Linux sysadmin course is for CentOS 6. Since CentOS is based on Red Hat, all the tools and utilities mentioned in this course will also work on Red Hat 6. What is covered in this course? The following are the various modules that are covered in this course: Module 1. What do you get in this course? Once you purchase this course, you’ll get access to the following: Linux 101 Hacks eBook, by Ramesh Natarajan. I’m happy to announce the release of the 2nd Edition of my Linux 101 Hacks eBook.

Linux 101 Hacks eBook, by Ramesh Natarajan

This eBook is totally free. There are total of 101 hacks in this book that will help you build a strong foundation in Linux. All the hacks in this book are explained with appropriate Linux command examples that are easy to follow. In the 2nd edition of the book, several small hacks from the 1st edition are consolidated, and several new hacks were added. See below for the table of contents of this free eBook. This free eBook contains 12 chapters with total of 271 pages. Download Free eBook Enter your email address below to download the Linux 101 Hacks 2nd edition eBook immediately and sign-up for our monthly newsletter.

Linux 101 Hacks 2nd Edition – Table of Contents Chapter 1: Powerful CD Command Hacks. Must Have Applications For Linux Users. Mozilla Add-Ons For Hackers. Linux Speed Hacks. 1.

Linux Speed Hacks

Quick Fixes - Disable unnecessary services to make Linux boot faster Linux comes in various flavors bundled with a lot of applications. However, most of us don't even use Linux to its full potential. Depending upon the use of the machine, plenty of services and running programs won’t be needed. And if you are using Linux just for a desktop, then you won’t be needing the default send mail, httpd, and many other services. 2. If your Linux box is wired to the LAN/Ethernet, then you don’t need to have a wireless kernel module loaded. For added safety, install Bootchart which will tell you if Kernel modules are properly installed and running on your system. Chkconfig –list | grep 3:on.