Monday, August 31, 2020

Learn A-Z Kali_Linux Commands For Beginerrs

Iemhacker-linux-command-for-beginner

All commands (A-Z) for Kali Linux here:
A
apropos Search Help manual pages (man -k)
apt-get Search for and install software packages (Debian/Ubuntu)
aptitude Search for and install software packages (Debian/Ubuntu)
aspell Spell Checker
awk Find and Replace text, database sort/validate/index
B
basename Strip directory and suffix from filenames
bash GNU Bourne-Again SHell
bc Arbitrary precision calculator language
bg Send to background
break Exit from a loop •
builtin Run a shell builtin
bzip2 Compress or decompress named file(s)
C
cal Display a calendar
case Conditionally perform a command
cat Concatenate and print (display) the content of files
cd Change Directory
cfdisk Partition table manipulator for Linux
chgrp Change group ownership
chmod Change access permissions
chown Change file owner and group
chroot Run a command with a different root directory
chkconfig System services (runlevel)
cksum Print CRC checksum and byte counts
clear Clear terminal screen
cmp Compare two files
comm Compare two sorted files line by line
command Run a command – ignoring shell functions •
continue Resume the next iteration of a loop •
cp Copy one or more files to another location
cron Daemon to execute scheduled commands
crontab Schedule a command to run at a later time
csplit Split a file into context-determined pieces
cut Divide a file into several parts
D
date Display or change the date & time
dc Desk Calculator
dd Convert and copy a file, write disk headers, boot records
ddrescue Data recovery tool
declare Declare variables and give them attributes •
df Display free disk space
diff Display the differences between two files
diff3 Show differences among three files
dig DNS lookup
dir Briefly list directory contents
dircolors Colour setup for `ls'
dirname Convert a full pathname to just a path
dirs Display list of remembered directories
dmesg Print kernel & driver messages
du Estimate file space usage
E
echo Display message on screen •
egrep Search file(s) for lines that match an extended expression
eject Eject removable media
enable Enable and disable builtin shell commands •
env Environment variables
ethtool Ethernet card settings
eval Evaluate several commands/arguments
exec Execute a command
exit Exit the shell
expect Automate arbitrary applications accessed over a terminal
expand Convert tabs to spaces
export Set an environment variable
expr Evaluate expressions
F
false Do nothing, unsuccessfully
fdformat Low-level format a floppy disk
fdisk Partition table manipulator for Linux
fg Send job to foreground
fgrep Search file(s) for lines that match a fixed string
file Determine file type
find Search for files that meet a desired criteria
fmt Reformat paragraph text
fold Wrap text to fit a specified width.
for Expand words, and execute commands
format Format disks or tapes
free Display memory usage
fsck File system consistency check and repair
ftp File Transfer Protocol
function Define Function Macros
fuser Identify/kill the process that is accessing a file
G
gawk Find and Replace text within file(s)
getopts Parse positional parameters
grep Search file(s) for lines that match a given pattern
groupadd Add a user security group
groupdel Delete a group
groupmod Modify a group
groups Print group names a user is in
gzip Compress or decompress named file(s)
H
hash Remember the full pathname of a name argument
head Output the first part of file(s)
help Display help for a built-in command •
history Command History
hostname Print or set system name
I
iconv Convert the character set of a file
id Print user and group id's
if Conditionally perform a command
ifconfig Configure a network interface
ifdown Stop a network interface
ifup Start a network interface up
import Capture an X server screen and save the image to file
install Copy files and set attributes
J
jobs List active jobs •
join Join lines on a common field
K
kill Stop a process from running
killall Kill processes by name
L
less Display output one screen at a time
let Perform arithmetic on shell variables •
ln Create a symbolic link to a file
local Create variables •
locate Find files
logname Print current login name
logout Exit a login shell •
look Display lines beginning with a given string
lpc Line printer control program
lpr Off line print
lprint Print a file
lprintd Abort a print job
lprintq List the print queue
lprm Remove jobs from the print queue
ls List information about file(s)
lsof List open files
M
make Recompile a group of programs
man Help manual
mkdir Create new folder(s)
mkfifo Make FIFOs (named pipes)
mkisofs Create an hybrid ISO9660/JOLIET/HFS filesystem
mknod Make block or character special files
more Display output one screen at a time
mount Mount a file system
mtools Manipulate MS-DOS files
mtr Network diagnostics (traceroute/ping)
mv Move or rename files or directories
mmv Mass Move and rename (files)
N
netstat Networking information
nice Set the priority of a command or job
nl Number lines and write files
nohup Run a command immune to hangups
notify-send Send desktop notifications
nslookup Query Internet name servers interactively
O
open Open a file in its default application
op Operator access
P
passwd Modify a user password
paste Merge lines of files
pathchk Check file name portability
ping Test a network connection
pkill Stop processes from running
popd Restore the previous value of the current directory
pr Prepare files for printing
printcap Printer capability database
printenv Print environment variables
printf Format and print data •
ps Process status
pushd Save and then change the current directory
pwd Print Working Directory
Q
quota Display disk usage and limits
quotacheck Scan a file system for disk usage
quotactl Set disk quotas
R
ram ram disk device
rcp Copy files between two machines
read Read a line from standard input •
readarray Read from stdin into an array variable •
readonly Mark variables/functions as readonly
reboot Reboot the system
rename Rename files
renice Alter priority of running processes
remsync Synchronize remote files via email
return Exit a shell function
rev Reverse lines of a file
rm Remove files
rmdir Remove folder(s)
rsync Remote file copy (Synchronize file trees)
S
screen Multiplex terminal, run remote shells via ssh
scp Secure copy (remote file copy)
sdiff Merge two files interactively
sed Stream Editor
select Accept keyboard input
seq Print numeric sequences
set Manipulate shell variables and functions
sftp Secure File Transfer Program
shift Shift positional parameters
shopt Shell Options
shutdown Shutdown or restart linux
sleep Delay for a specified time
slocate Find files
sort Sort text files
source Run commands from a file `.'
split Split a file into fixed-size pieces
ssh Secure Shell client (remote login program)
strace Trace system calls and signals
su Substitute user identity
sudo Execute a command as another user
sum Print a checksum for a file
suspend Suspend execution of this shell •
symlink Make a new name for a file
sync Synchronize data on disk with memory
T
tail Output the last part of file
tar Tape ARchiver
tee Redirect output to multiple files
test Evaluate a conditional expression
time Measure Program running time
times User and system times
touch Change file timestamps
top List processes running on the system
traceroute Trace Route to Host
trap Run a command when a signal is set(bourne)
tr Translate, squeeze, and/or delete characters
true Do nothing, successfully
tsort Topological sort
tty Print filename of terminal on stdin
type Describe a command •
U
ulimit Limit user resources •
umask Users file creation mask
umount Unmount a device
unalias Remove an alias •
uname Print system information
unexpand Convert spaces to tabs
uniq Uniquify files
units Convert units from one scale to another
unset Remove variable or function names
unshar Unpack shell archive scripts
until Execute commands (until error)
uptime Show uptime
useradd Create new user account
userdel Delete a user account
usermod Modify user account
users List users currently logged in
uuencode Encode a binary file
uudecode Decode a file created by uuencode
V
v Verbosely list directory contents (`ls -l -b')
vdir Verbosely list directory contents (`ls -l -b')
vi Text Editor
vmstat Report virtual memory statistics
W
wait Wait for a process to complete •
watch Execute/display a program periodically
wc Print byte, word, and line counts
whereis Search the user's $path, man pages and source files for a program
which Search the user's $path for a program file
while Execute commands
who Print all usernames currently logged in
whoami Print the current user id and name (`id -un')
wget Retrieve web pages or files via HTTP, HTTPS or FTP
write Send a message to another user
X
xargs Execute utility, passing constructed argument list(s)
xdg-open Open a file or URL in the user's preferred application.
yes Print a string until interrupted
. Run a command script in the current shell
!! Run the last command again
Related news
  1. Hacking Tools Download
  2. Hacker
  3. Hack Tools For Mac
  4. Hacker Tools
  5. Hacker Search Tools
  6. Hack App
  7. Black Hat Hacker Tools
  8. Hacker Tools Free Download
  9. Pentest Tools Github
  10. Pentest Tools Alternative
  11. Pentest Box Tools Download
  12. Hacker Techniques Tools And Incident Handling
  13. Tools 4 Hack
  14. Hack Tools Pc
  15. Pentest Tools Online
  16. Blackhat Hacker Tools
  17. Pentest Automation Tools
  18. Pentest Tools Online
  19. Pentest Tools Open Source
  20. Hacking Tools Usb
  21. Easy Hack Tools
  22. Nsa Hacker Tools
  23. Hacker Tool Kit
  24. Hacking Tools 2020
  25. Hacker Tools
  26. Pentest Tools Bluekeep
  27. Hacking Tools For Windows 7
  28. Pentest Tools Bluekeep
  29. Hacking Tools For Mac
  30. Hackrf Tools
  31. Pentest Tools Find Subdomains
  32. Hacker Tools 2020
  33. Pentest Automation Tools
  34. Pentest Tools Find Subdomains
  35. Pentest Tools Github
  36. Hacking Tools For Windows
  37. Pentest Tools For Android
  38. Hacker Tools 2019
  39. Hackers Toolbox
  40. Pentest Tools For Windows
  41. Hacker Tools Github
  42. Hacking Tools For Windows Free Download
  43. Black Hat Hacker Tools
  44. Pentest Tools Apk
  45. Pentest Tools List
  46. Pentest Tools Review
  47. Hacker Tools 2019
  48. Pentest Tools Android
  49. Hacker Tools For Mac
  50. How To Install Pentest Tools In Ubuntu
  51. Hacking Tools For Windows
  52. Hacker Tools Mac
  53. Hack Tools
  54. Pentest Tools Open Source

Sunday, August 30, 2020

One Reason Why InfoSec Sucked In The Past 20 Years - The "Security Tips" Myth

From time to time, I get disappointed how much effort and money is put into securing computers, networks, mobile phones, ... and yet in 2016 here we are, where not much has changed on the defensive side. There are many things I personally blame for this situation, and one of them is the security tips.

The goal of these security tips is that if the average user follows these easy to remember rules, their computer will be safe. Unfortunately, by the time people integrate these rules into their daily life, these rules either become outdated, or these rules were so oversimplified that it was never true in the first place. Some of these security tips might sound ridiculous to people in InfoSec nowadays, but this is exactly what people still remember because we told them so for years.

PDF is safe to open

This is an oldie. I think this started at the time of macro viruses. Still, people think opening a PDF from an untrusted source is safer than opening a Word file. For details why this is not true, check: https://www.cvedetails.com/vulnerability-list/vendor_id-53/product_id-497/Adobe-Acrobat-Reader.html
On an unrelated note, people still believe PDF is integrity protected because the content cannot be changed (compared to a Word document).
Image stolen from Kaspersky

Java is secure

One of the best ones. Oracle started marketing Java as a safe language, where buffer overflows, format strings and pointer-based vulnerabilities are gone. Unfortunately, they forgot to tell the world that instead of "unsafe programs developed by others" they installed their unsafe program on 3 billion devices. 

Stay away from rogue websites and you will be safe

This is a very common belief I hear from average people. "I only visit some trusted news sites and social media, I never visit those shady sites." I have some bad news. At the time of malvertising and infected websites, you don't have to visit those shady sites anymore to get infected.

Don't use open WiFi

I have a very long explanation of why this makes no sense, see here. Actually, the whole recommendation makes no sense as people will connect to public WiFis, no matter what we (InfoSec) recommend.

The password policy nightmare

Actually, this topic has been covered by myself in two blog posts, see here and here. Long story short: use a password manager and 2-factor authentication wherever possible. Let the password manager choose the password for you. And last but not least, corporate password policy sux.

Sites with a padlock are safe

We tell people for years that the communication with HTTPS sites are safe, and you can be sure it is HTTPS by finding a randomly changing padlock icon somewhere next to the URL. What people hear is that sites with padlocks are safe. Whatever that means. The same goes for WiFi - a network with a padlock is safe.

Use Linux, it is free from malware

For years people told to Windows users that only if they would use Linux they won't have so much malware. Thanks to Android, now everyone in the world can enjoy malware on his/her Linux machine.

OSX is free from malware

It is true that there is significantly less malware on OSX than on Windows, but this is an "economical" question rather than a "security" one. The more people use OSX, the better target it will become. Some people even believe they are safe from phishing because they are using a Mac!

Updated AV + firewall makes me 100% safe

There is no such thing as 100% safe, and unfortunately, nowadays most malware is written for PROFIT, which means it can bypass these basic protections for days (or weeks, months, years). The more proactive protection is built into the product, the better!

How to backup data

Although this is one of the most important security tips which is not followed by people, my problem here is not the backup data advise, but how we as a community failed to provide easy to use ways to do that. Now that crypto-ransomware is a real threat to every Windows (and some OSX) users, even those people who have backups on their NAS can find their backups lost. The only hope is that at least OSX has Time Machine which is not targeted yet, and the only backup solution which really works.
The worst part is that we even created NAS devices which can be infected via worms ...

Disconnect your computer from the Internet when not used

There is no need to comment on this. Whoever recommends things like that, clearly has a problem.

Use (free) VPN to protect your anonimity

First of all. There is no such thing as free service. If it is free, you are the service. On another hand, a non-free VPN can introduce new vulnerablities, and they won't protect your anonymity. It replaces one ISP with another (your VPN provider). Even TOR cannot guarantee anonymity by itself, and VPNs are much worse.

The corporate "security tips" myth

"Luckily" these toxic security tips have infected the enterprise environment as well, not just the home users.

Use robots.txt to hide secret information on public websites

It is 2016 and somehow web developers still believe in this nonsense. And this is why this is usually the first to check on a website for penetration testers or attackers.

My password policy is safer than ever

As previously discussed, passwords are bad. Very bad. And they will stick with us for decades ...

Use WAF, IDS, IPS, Nextgen APT detection hibber-gibber and you will be safe

Companies should invest more in people and less into magic blinking devices.

Instead of shipping computers with bloatware, ship computers with exploit protection software
Teach people how to use a password safe
Teach people how to use 2FA
Teach people how to use common-sense

Conclusion

Computer security is complex, hard and the risks change every year. Is this our fault? Probably. But these kinds of security tips won't help us save the world. 

More information


  1. Hack App
  2. How To Install Pentest Tools In Ubuntu
  3. Easy Hack Tools
  4. Hacking Tools Kit
  5. Hack Tools
  6. Best Pentesting Tools 2018
  7. Hacker Tools For Pc
  8. Hack Tool Apk No Root
  9. Hacking Tools Hardware
  10. Hacking Tools For Windows
  11. Hacking Tools Pc
  12. Hack Tools Online
  13. Pentest Tools Windows
  14. Pentest Tools Android
  15. Pentest Box Tools Download
  16. Pentest Tools List
  17. Physical Pentest Tools
  18. Hacker Tools Free Download
  19. Pentest Tools For Windows
  20. Pentest Tools For Ubuntu
  21. Hacker Tools
  22. Beginner Hacker Tools
  23. Hacking Tools For Mac
  24. Hack App
  25. Blackhat Hacker Tools
  26. Pentest Automation Tools
  27. Hacker Tools Linux
  28. How To Install Pentest Tools In Ubuntu
  29. Hacker Tools Hardware
  30. Hacker
  31. Pentest Tools Review
  32. Hack Rom Tools
  33. Game Hacking
  34. Hacking Tools Windows 10
  35. Hacking Tools For Pc
  36. Hacking Tools 2019
  37. Hacker Tools
  38. Pentest Tools Apk
  39. Hacking Apps
  40. Hack Tools Mac
  41. Hack Website Online Tool
  42. Hacking Tools Software
  43. Hack Website Online Tool
  44. Hacker Tools
  45. Hacking Tools Kit
  46. Hacking Apps
  47. Pentest Tools For Windows
  48. Pentest Tools For Windows
  49. Pentest Tools Website Vulnerability
  50. Tools For Hacker
  51. Hacking Tools Windows 10
  52. Hack Rom Tools
  53. Pentest Tools Port Scanner
  54. Hacking Tools Usb
  55. Hacker Security Tools
  56. Hacking Tools Usb
  57. Kik Hack Tools
  58. Pentest Tools Kali Linux
  59. Hacking Tools Online
  60. Tools 4 Hack
  61. Hacking Tools 2019
  62. New Hacker Tools
  63. Hack Tools Mac
  64. How To Hack
  65. Hacking Tools Name
  66. Hack Tools For Mac
  67. Bluetooth Hacking Tools Kali
  68. How To Install Pentest Tools In Ubuntu
  69. Android Hack Tools Github
  70. Hacking Tools For Windows
  71. Wifi Hacker Tools For Windows
  72. Pentest Tools Windows
  73. Hack Tools Download
  74. Hack App
  75. Pentest Tools For Mac
  76. Pentest Tools Tcp Port Scanner
  77. Hacking Tools 2019
  78. Hacking Tools For Windows Free Download
  79. Hacking Tools Download
  80. How To Install Pentest Tools In Ubuntu
  81. Physical Pentest Tools
  82. Best Pentesting Tools 2018
  83. Hacking Tools Mac
  84. Blackhat Hacker Tools
  85. Pentest Tools Tcp Port Scanner
  86. Hacking Tools For Windows
  87. Hacking Tools Name
  88. Hack Website Online Tool
  89. Hacker Tools 2019
  90. What Is Hacking Tools
  91. Hacking Tools Usb
  92. Best Hacking Tools 2020
  93. Hack Website Online Tool
  94. Hacking Apps
  95. Pentest Tools Tcp Port Scanner
  96. Pentest Recon Tools
  97. Hacking Tools Download
  98. Hacking Tools Pc
  99. Hacker Tools Free Download
  100. Pentest Tools Url Fuzzer
  101. Hacker Tools 2020
  102. Hacker Tools Free Download
  103. Hacking Tools 2020
  104. Hacker Tools For Pc
  105. Hacker Tools Free Download
  106. Pentest Tools Apk
  107. Hacking Tools Usb
  108. Hack Tools
  109. Pentest Tools Linux
  110. How To Hack
  111. Hacker
  112. Hacker
  113. Hacker Tools Software
  114. Hack Tools For Mac
  115. Physical Pentest Tools
  116. Top Pentest Tools
  117. Free Pentest Tools For Windows
  118. Github Hacking Tools
  119. How To Install Pentest Tools In Ubuntu
  120. Hacking Apps
  121. Hacking Apps
  122. Hack Tools For Pc
  123. Hak5 Tools
  124. What Are Hacking Tools
  125. Hacker Security Tools
  126. Hacker Tool Kit
  127. Game Hacking
  128. Hack Tools 2019
  129. Hacking Tools Online
  130. Hack Tools Mac
  131. Hacker Tools Linux
  132. Hacking Tools For Windows
  133. Hacker Tools Software
  134. Hacker Tools
  135. What Is Hacking Tools
  136. Pentest Reporting Tools
  137. Hacking App
  138. Pentest Tools List
  139. Hack Tools
  140. Hack Tools For Games
  141. Pentest Tools Review
  142. Hacking Tools Free Download
  143. Hacker Tools 2020
  144. Install Pentest Tools Ubuntu
  145. World No 1 Hacker Software
  146. Underground Hacker Sites
  147. Wifi Hacker Tools For Windows
  148. Hacking Tools
  149. Hacker Tools For Windows
  150. Hacking Tools For Mac
  151. Pentest Recon Tools
  152. Pentest Tools Open Source
  153. Hack Tools For Ubuntu
  154. Hack Tools For Windows
  155. Hacking Tools Pc
  156. Hacker Tools Apk Download
  157. What Is Hacking Tools
  158. Nsa Hacker Tools
  159. World No 1 Hacker Software
  160. Nsa Hack Tools
  161. Kik Hack Tools
  162. Pentest Tools Kali Linux
  163. Android Hack Tools Github
  164. Hacker Search Tools
  165. New Hack Tools
  166. Pentest Tools Review