Archive

Archive for the ‘Security’ Category

Centos 7 change root passwd

February 7th, 2017 No comments

How to change root password on Centos 7

  1. reboot press ESC to go into menu, then press ‘e’ to edit
  2. change line of Linux 16 and change ro with rw init=/sysroot/bin/sh
  3. CRTL-X to boot
  4. chroot /sysroot
  5. passwd root
  6. touch /.autorelabel
  7. reboot -f

Read more…

Categories: HowTo, Linux, Security Tags:

yum update security check script

January 12th, 2017 No comments

simple bash script to check for missing security
here is the script:

Categories: bash, BashScripts, Linux, Security Tags: , , ,

Reverse SSH Tunnel

November 14th, 2016 No comments

The idea is to have my IP autostart connect to my Cloud server,
this way I can remote control my Raspberry PI without having to configure DynDNS and firewall rules.
The only requsisite is that PI has internet and run a simple script on startup to estabilish the SSH tunnel

Read more…

How to fix mod_ssl CRIME attack

April 16th, 2013 No comments

More detailed information on what and how the attack works is here

Read more…

Pass-the-hash from memory

October 15th, 2012 No comments

This is the most impressive and scariest hack I ever seen.
The tool called WCE, Windows Credential Editor can get any password
from a Windows box, from memory! So even if you login in the server 3months ago,
the hack would still work. This is no common pass-the-hash attack,

Read more…

reset redhat 5 password

December 29th, 2011 No comments

reset redhat 5 password +boot

When you lost your root password in a RedHat Linux Based systems you should first have access to the console, (the machine itself).
Power on, or reboot as needed.

Read more…

How to Install iftop

July 21st, 2011 No comments

How to Install iftop on RedHat 6 64 bits, CentOS.
iftop is a very very cool tool. It displays what connections are made and their usage etc…

Read more…

Categories: HowTo, Linux, Security Tags: , , , , , , ,

How to setup sshguard

July 12th, 2011 2 comments

How to setup sshguard

Using Iptables and centos or redhat
(another option is to use fail2ban, checkout my howto here )

Read more…

NETFILTER PACKET FLOW

March 29th, 2011 No comments

NETFILTER PACKET FLOW (kernel):

Read more…

NTFS ACL Behaviour

May 6th, 2010 No comments

NTFS ACL Behaviour
If propagate from parent is checked
the original folder permissions will totally be replaced by the new parent settings.
example:
Directory c:tempjoe
permissions: joe RW , smith R
Copid to c:tempnew
already set permissions: joe R, smith RW, mark R
the files copied will be set with those permissions.
Same happens with any file that is put in that folders, they will
immediatly take the ACL of the current folder and lose previously ACLs.

Read more…