Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### SYSTEM ##############################################
- Kernel information:
- Linux Sichuan 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
- Kernel information (continued):
- Linux version 3.16.0-30-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015
- Specific release information:
- DISTRIB_ID=Ubuntu
- DISTRIB_RELEASE=14.04
- DISTRIB_CODENAME=trusty
- DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
- NAME="Ubuntu"
- VERSION="14.04.3 LTS, Trusty Tahr"
- ID=ubuntu
- ID_LIKE=debian
- PRETTY_NAME="Ubuntu 14.04.3 LTS"
- VERSION_ID="14.04"
- HOME_URL="http://www.ubuntu.com/"
- SUPPORT_URL="http://help.ubuntu.com/"
- BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
- Hostname:
- Sichuan
- ### USER/GROUP ##########################################
- Current user/group info:
- uid=33(www-data) gid=33(www-data) groups=33(www-data)
- Users that have previously logged onto the system:
- Username Port From Latest
- meigui tty1 Tue Sep 22 09:47:12 +0200 2015
- All users and uid/gid info:
- root:x:0:0
- daemon:x:1:1
- bin:x:2:2
- sys:x:3:3
- sync:x:4:65534
- games:x:5:60
- man:x:6:12
- lp:x:7:7
- mail:x:8:8
- news:x:9:9
- uucp:x:10:10
- proxy:x:13:13
- www-data:x:33:33
- backup:x:34:34
- list:x:38:38
- irc:x:39:39
- gnats:x:41:41
- nobody:x:65534:65534
- libuuid:x:100:101
- syslog:x:101:104
- mysql:x:102:106
- messagebus:x:103:107
- landscape:x:104:110
- sshd:x:105:65534
- meigui:x:1000:1000
- Group memberships:
- uid=0(root) gid=0(root) groups=0(root)
- uid=1(daemon) gid=1(daemon) groups=1(daemon)
- uid=2(bin) gid=2(bin) groups=2(bin)
- uid=3(sys) gid=3(sys) groups=3(sys)
- uid=4(sync) gid=65534(nogroup) groups=65534(nogroup)
- uid=5(games) gid=60(games) groups=60(games)
- uid=6(man) gid=12(man) groups=12(man)
- uid=7(lp) gid=7(lp) groups=7(lp)
- uid=8(mail) gid=8(mail) groups=8(mail)
- uid=9(news) gid=9(news) groups=9(news)
- uid=10(uucp) gid=10(uucp) groups=10(uucp)
- uid=13(proxy) gid=13(proxy) groups=13(proxy)
- uid=33(www-data) gid=33(www-data) groups=33(www-data)
- uid=34(backup) gid=34(backup) groups=34(backup)
- uid=38(list) gid=38(list) groups=38(list)
- uid=39(irc) gid=39(irc) groups=39(irc)
- uid=41(gnats) gid=41(gnats) groups=41(gnats)
- uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
- uid=100(libuuid) gid=101(libuuid) groups=101(libuuid)
- uid=101(syslog) gid=104(syslog) groups=104(syslog),4(adm)
- uid=102(mysql) gid=106(mysql) groups=106(mysql)
- uid=103(messagebus) gid=107(messagebus) groups=107(messagebus)
- uid=104(landscape) gid=110(landscape) groups=110(landscape)
- uid=105(sshd) gid=65534(nogroup) groups=65534(nogroup)
- uid=1000(meigui) gid=1000(meigui) groups=1000(meigui),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),112(lpadmin),113(sambashare)
- Sample entires from /etc/passwd (searching for uid values 0, 500, 501, 502, 1000, 1001, 1002, 2000, 2001, 2002):
- root:x:0:0:root:/root:/bin/bash
- meigui:x:1000:1000:Meigui,,,:/home/meigui:/bin/bash
- Super user account(s):
- root
- Are permissions on /home directories lax:
- total 12K
- drwxr-xr-x 3 root root 4.0K Sep 18 08:49 .
- drwxr-xr-x 23 root root 4.0K Sep 18 09:13 ..
- drwxr-xr-x 4 meigui meigui 4.0K Sep 20 17:18 meigui
- Files not owned by user but writable by group:
- -rw-rw-rw- 1 root root 0 Jan 2 08:18 /sys/kernel/security/apparmor/.access
- World-readable files within /home:
- -rw-r--r-- 1 meigui meigui 675 Sep 18 08:49 /home/meigui/.profile
- -rw-r--r-- 1 meigui meigui 220 Sep 18 08:49 /home/meigui/.bash_logout
- -rw-r--r-- 1 meigui meigui 3637 Sep 18 08:49 /home/meigui/.bashrc
- -rw-rw-r-- 1 meigui meigui 2244 Sep 20 14:14 /home/meigui/www/almostdone.html
- Home directory contents:
- total 12K
- drwxr-xr-x 3 root root 4.0K Sep 18 08:48 .
- drwxr-xr-x 13 root root 4.0K Sep 18 08:48 ..
- drwxr-xr-x 4 root root 4.0K Sep 20 14:16 html
- ### ENVIRONMENTAL #######################################
- Path information:
- /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- Available shells:
- # /etc/shells: valid login shells
- /bin/sh
- /bin/dash
- /bin/bash
- /bin/rbash
- /usr/bin/tmux
- /usr/bin/screen
- Current umask value:
- 0022
- u=rwx,g=rx,o=rx
- umask value as specified in /etc/login.defs:
- UMASK 022
- Password and storage information:
- PASS_MAX_DAYS 99999
- PASS_MIN_DAYS 0
- PASS_WARN_AGE 7
- ENCRYPT_METHOD SHA512
- ### JOBS/TASKS ##########################################
- Cron jobs:
- -rw-r--r-- 1 root root 722 Feb 9 2013 /etc/crontab
- /etc/cron.d:
- total 16
- drwxr-xr-x 2 root root 4096 Sep 18 08:57 .
- drwxr-xr-x 93 root root 4096 Jan 2 07:18 ..
- -rw-r--r-- 1 root root 102 Feb 9 2013 .placeholder
- -rw-r--r-- 1 root root 510 Feb 13 2015 php5
- /etc/cron.daily:
- total 76
- drwxr-xr-x 2 root root 4096 Sep 18 08:58 .
- drwxr-xr-x 93 root root 4096 Jan 2 07:18 ..
- -rw-r--r-- 1 root root 102 Feb 9 2013 .placeholder
- -rwxr-xr-x 1 root root 625 Jul 22 2014 apache2
- -rwxr-xr-x 1 root root 376 Apr 4 2014 apport
- -rwxr-xr-x 1 root root 15481 Apr 10 2014 apt
- -rwxr-xr-x 1 root root 314 Feb 18 2014 aptitude
- -rwxr-xr-x 1 root root 355 Jun 4 2013 bsdmainutils
- -rwxr-xr-x 1 root root 256 Mar 7 2014 dpkg
- -rwxr-xr-x 1 root root 372 Jan 22 2014 logrotate
- -rwxr-xr-x 1 root root 1261 Sep 23 2014 man-db
- -rwxr-xr-x 1 root root 435 Jun 20 2013 mlocate
- -rwxr-xr-x 1 root root 249 Feb 17 2014 passwd
- -rwxr-xr-x 1 root root 2417 May 13 2013 popularity-contest
- -rwxr-xr-x 1 root root 214 Oct 7 2014 update-notifier-common
- -rwxr-xr-x 1 root root 328 Jul 18 2014 upstart
- /etc/cron.hourly:
- total 12
- drwxr-xr-x 2 root root 4096 Sep 18 08:39 .
- drwxr-xr-x 93 root root 4096 Jan 2 07:18 ..
- -rw-r--r-- 1 root root 102 Feb 9 2013 .placeholder
- /etc/cron.monthly:
- total 12
- drwxr-xr-x 2 root root 4096 Sep 18 08:39 .
- drwxr-xr-x 93 root root 4096 Jan 2 07:18 ..
- -rw-r--r-- 1 root root 102 Feb 9 2013 .placeholder
- /etc/cron.weekly:
- total 28
- drwxr-xr-x 2 root root 4096 Sep 18 08:57 .
- drwxr-xr-x 93 root root 4096 Jan 2 07:18 ..
- -rw-r--r-- 1 root root 102 Feb 9 2013 .placeholder
- -rwxr-xr-x 1 root root 730 Feb 23 2014 apt-xapian-index
- -rwxr-xr-x 1 root root 427 Apr 16 2014 fstrim
- -rwxr-xr-x 1 root root 771 Sep 23 2014 man-db
- -rwxr-xr-x 1 root root 211 Oct 7 2014 update-notifier-common
- Crontab contents:
- # /etc/crontab: system-wide crontab
- # Unlike any other crontab you don't have to run the `crontab'
- # command to install the new version when you edit this file
- # and files in /etc/cron.d. These files also have username fields,
- # that none of the other crontabs do.
- SHELL=/bin/sh
- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
- # m h dom mon dow user command
- 17 * * * * root cd / && run-parts --report /etc/cron.hourly
- 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
- 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
- 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
- #
- ### NETWORKING ##########################################
- Network & IP info:
- eth0 Link encap:Ethernet HWaddr 00:07:3e:15:15:15
- inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::207:3eff:fe15:1515/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:30345 errors:0 dropped:0 overruns:0 frame:0
- TX packets:13175 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:29685717 (29.6 MB) TX bytes:3331842 (3.3 MB)
- eth1 Link encap:Ethernet HWaddr 08:00:27:c2:42:60
- BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:34 errors:0 dropped:0 overruns:0 frame:0
- TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:2976 (2.9 KB) TX bytes:2976 (2.9 KB)
- Nameserver(s):
- nameserver 8.8.8.8
- nameserver 8.8.4.4
- nameserver 192.168.1.1
- Default route:
- default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
- Listening TCP:
- Active Internet connections (servers and established)
- Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
- tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
- tcp6 0 0 :::80 :::* LISTEN -
- tcp6 0 0 :::22 :::* LISTEN -
- tcp6 0 0 192.168.1.25:80 192.168.1.5:56652 TIME_WAIT -
- tcp6 0 0 192.168.1.25:80 192.168.1.5:56662 TIME_WAIT -
- tcp6 0 0 192.168.1.25:80 192.168.1.5:56653 TIME_WAIT -
- tcp6 0 0 192.168.1.25:80 192.168.1.5:56663 ESTABLISHED -
- tcp6 0 0 192.168.1.25:80 192.168.1.5:56661 TIME_WAIT -
- Listening UDP:
- Active Internet connections (servers and established)
- Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
- udp 0 0 0.0.0.0:18742 0.0.0.0:* -
- udp 0 0 0.0.0.0:68 0.0.0.0:* -
- udp6 0 0 :::4896 :::* -
- ### SERVICES #############################################
- Running processes:
- USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
- root 1 0.0 0.3 33448 3956 ? Ss 08:18 0:00 /sbin/init
- root 2 0.0 0.0 0 0 ? S 08:18 0:00 [kthreadd]
- root 3 0.0 0.0 0 0 ? S 08:18 0:00 [ksoftirqd/0]
- root 5 0.0 0.0 0 0 ? S< 08:18 0:00 [kworker/0:0H]
- root 7 0.0 0.0 0 0 ? S 08:18 0:01 [rcu_sched]
- root 8 0.0 0.0 0 0 ? S 08:18 0:02 [rcuos/0]
- root 9 0.0 0.0 0 0 ? S 08:18 0:00 [rcu_bh]
- root 10 0.0 0.0 0 0 ? S 08:18 0:00 [rcuob/0]
- root 11 0.0 0.0 0 0 ? S 08:18 0:00 [migration/0]
- root 12 0.0 0.0 0 0 ? S 08:18 0:00 [watchdog/0]
- root 13 0.0 0.0 0 0 ? S< 08:18 0:00 [khelper]
- root 14 0.0 0.0 0 0 ? S 08:18 0:00 [kdevtmpfs]
- root 15 0.0 0.0 0 0 ? S< 08:18 0:00 [netns]
- root 16 0.0 0.0 0 0 ? S 08:18 0:00 [khungtaskd]
- root 17 0.0 0.0 0 0 ? S< 08:18 0:00 [writeback]
- root 18 0.0 0.0 0 0 ? SN 08:18 0:00 [ksmd]
- root 19 0.0 0.0 0 0 ? SN 08:18 0:00 [khugepaged]
- root 20 0.0 0.0 0 0 ? S< 08:18 0:00 [crypto]
- root 21 0.0 0.0 0 0 ? S< 08:18 0:00 [kintegrityd]
- root 22 0.0 0.0 0 0 ? S< 08:18 0:00 [bioset]
- root 23 0.0 0.0 0 0 ? S< 08:18 0:00 [kblockd]
- root 24 0.0 0.0 0 0 ? S< 08:18 0:00 [ata_sff]
- root 25 0.0 0.0 0 0 ? S 08:18 0:00 [khubd]
- root 26 0.0 0.0 0 0 ? S< 08:18 0:00 [md]
- root 27 0.0 0.0 0 0 ? S< 08:18 0:00 [devfreq_wq]
- root 29 0.0 0.0 0 0 ? S 08:18 0:06 [kworker/0:1]
- root 30 0.0 0.0 0 0 ? S 08:18 0:00 [kswapd0]
- root 31 0.0 0.0 0 0 ? S 08:18 0:00 [fsnotify_mark]
- root 32 0.0 0.0 0 0 ? S 08:18 0:00 [ecryptfs-kthrea]
- root 44 0.0 0.0 0 0 ? S< 08:18 0:00 [kthrotld]
- root 45 0.0 0.0 0 0 ? S< 08:18 0:00 [acpi_thermal_pm]
- root 46 0.0 0.0 0 0 ? S 08:18 0:00 [scsi_eh_0]
- root 47 0.0 0.0 0 0 ? S< 08:18 0:00 [scsi_tmf_0]
- root 48 0.0 0.0 0 0 ? S 08:18 0:00 [scsi_eh_1]
- root 49 0.0 0.0 0 0 ? S< 08:18 0:00 [scsi_tmf_1]
- root 51 0.0 0.0 0 0 ? S< 08:18 0:00 [ipv6_addrconf]
- root 71 0.0 0.0 0 0 ? S< 08:18 0:00 [deferwq]
- root 72 0.0 0.0 0 0 ? S< 08:18 0:00 [charger_manager]
- root 123 0.0 0.0 0 0 ? S< 08:18 0:00 [kpsmoused]
- root 124 0.0 0.0 0 0 ? S< 08:18 0:00 [kworker/0:1H]
- root 131 0.0 0.0 0 0 ? S< 08:18 0:00 [kdmflush]
- root 132 0.0 0.0 0 0 ? S< 08:18 0:00 [bioset]
- root 134 0.0 0.0 0 0 ? S< 08:18 0:00 [kdmflush]
- root 137 0.0 0.0 0 0 ? S< 08:18 0:00 [bioset]
- root 150 0.0 0.0 0 0 ? S 08:18 0:00 [jbd2/dm-0-8]
- root 151 0.0 0.0 0 0 ? S< 08:18 0:00 [ext4-rsv-conver]
- root 280 0.0 0.0 19480 176 ? S 08:18 0:00 upstart-udev-bridge --daemon
- root 286 0.0 0.3 51596 3668 ? Ss 08:18 0:00 /lib/systemd/systemd-udevd --daemon
- root 462 0.0 0.0 15264 212 ? S 08:18 0:00 upstart-socket-bridge --daemon
- root 472 0.0 0.0 0 0 ? S< 08:18 0:00 [ext4-rsv-conver]
- root 532 0.0 0.0 15280 208 ? S 08:18 0:00 upstart-file-bridge --daemon
- message+ 537 0.0 0.1 39120 1992 ? Ss 08:18 0:00 dbus-daemon --system --fork
- syslog 539 0.0 0.2 255848 2884 ? Ssl 08:18 0:00 rsyslogd
- root 560 0.0 0.2 35024 2952 ? Ss 08:18 0:00 /lib/systemd/systemd-logind
- root 727 0.0 0.3 10236 3196 ? Ss 08:18 0:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
- root 864 0.0 0.2 15824 2064 tty4 Ss+ 08:18 0:00 /sbin/getty -8 38400 tty4
- root 867 0.0 0.2 15824 2104 tty5 Ss+ 08:18 0:00 /sbin/getty -8 38400 tty5
- root 872 0.0 0.1 15824 2032 tty2 Ss+ 08:18 0:00 /sbin/getty -8 38400 tty2
- root 873 0.0 0.2 15824 2076 tty3 Ss+ 08:18 0:00 /sbin/getty -8 38400 tty3
- root 876 0.0 0.2 15824 2092 tty6 Ss+ 08:18 0:00 /sbin/getty -8 38400 tty6
- root 897 0.0 0.5 61372 5456 ? Ss 08:18 0:00 /usr/sbin/sshd -D
- root 932 0.0 0.1 4372 1568 ? Ss 08:18 0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
- root 953 0.0 0.2 23660 2352 ? Ss 08:18 0:00 cron
- daemon 954 0.0 0.0 19144 164 ? Ss 08:18 0:00 atd
- mysql 999 0.0 5.4 558388 55924 ? Ssl 08:18 0:10 /usr/sbin/mysqld
- root 1026 0.0 2.1 276380 22084 ? Ss 08:18 0:01 /usr/sbin/apache2 -k start
- www-data 1036 0.0 1.2 276736 12852 ? S 08:18 0:00 /usr/sbin/apache2 -k start
- www-data 1037 0.0 1.3 276716 13344 ? S 08:18 0:00 /usr/sbin/apache2 -k start
- www-data 1038 0.0 1.2 276752 13000 ? S 08:18 0:00 /usr/sbin/apache2 -k start
- www-data 1039 0.0 1.2 276728 12836 ? S 08:18 0:00 /usr/sbin/apache2 -k start
- root 1179 0.0 0.0 0 0 ? S 08:18 0:00 [kauditd]
- www-data 1180 0.0 1.3 277016 13680 ? S 08:19 0:00 /usr/sbin/apache2 -k start
- www-data 1188 0.0 1.2 276988 12996 ? S 08:19 0:00 /usr/sbin/apache2 -k start
- root 1189 0.0 0.2 15824 2112 tty1 Ss+ 08:19 0:00 /sbin/getty -8 38400 tty1
- www-data 1270 0.0 1.4 277020 14852 ? S 08:32 0:00 /usr/sbin/apache2 -k start
- www-data 4513 0.0 1.2 276712 12784 ? S 08:54 0:00 /usr/sbin/apache2 -k start
- www-data 4514 0.0 1.2 276712 13140 ? S 08:54 0:00 /usr/sbin/apache2 -k start
- www-data 4515 0.0 1.2 276728 12832 ? S 08:54 0:00 /usr/sbin/apache2 -k start
- root 4892 0.0 0.0 0 0 ? S 10:37 0:00 [kworker/u2:2]
- root 22862 0.0 0.0 0 0 ? S 12:41 0:00 [kworker/0:2]
- root 22863 0.0 0.0 0 0 ? S 13:04 0:00 [kworker/u2:0]
- www-data 22893 0.0 0.0 4448 772 ? S 13:45 0:00 sh -c ./LinEnum.sh -k pass -r report -e /tmp/ -t 2>&1
- www-data 22894 0.4 0.3 18044 3080 ? S 13:45 0:00 /bin/bash ./LinEnum.sh -k pass -r report -e /tmp/ -t
- www-data 23246 0.0 0.1 18036 1996 ? S 13:45 0:00 /bin/bash ./LinEnum.sh -k pass -r report -e /tmp/ -t
- www-data 23247 0.0 0.2 15572 2228 ? R 13:45 0:00 ps aux
- Process binaries & associated permissions (from above list):
- -rwxr-xr-x 1 root root 1021112 Oct 7 2014 /bin/bash
- -rwxr-xr-x 1 root root 252056 Jul 15 21:13 /lib/systemd/systemd-logind
- -rwxr-xr-x 1 root root 239896 Jul 15 21:13 /lib/systemd/systemd-udevd
- -rwxr-xr-x 2 root root 32112 Sep 2 20:35 /sbin/getty
- -rwxr-xr-x 1 root root 265848 Jul 18 2014 /sbin/init
- -rwxr-xr-x 1 root root 637528 Jul 24 19:27 /usr/sbin/apache2
- -rwxr-xr-x 1 root root 11762624 Jul 17 00:51 /usr/sbin/mysqld
- -rwxr-xr-x 1 root root 766784 Aug 18 04:14 /usr/sbin/sshd
- /etc/init.d/ binary permissions:
- total 196
- drwxr-xr-x 2 root root 4096 Sep 18 08:58 .
- drwxr-xr-x 93 root root 4096 Jan 2 07:18 ..
- -rw-r--r-- 1 root root 0 Feb 18 2015 .legacy-bootordering
- -rw-r--r-- 1 root root 2427 Mar 13 2014 README
- -rwxr-xr-x 1 root root 2243 Apr 3 2014 acpid
- -rwxr-xr-x 1 root root 9974 Jan 7 2014 apache2
- -rwxr-xr-x 1 root root 4596 Mar 27 2014 apparmor
- -rwxr-xr-x 1 root root 2801 Feb 7 2015 apport
- -rwxrwxr-x 1 root root 1071 Sep 8 2013 atd
- -rwxr-xr-x 1 root root 1919 Jan 18 2011 console-setup
- lrwxrwxrwx 1 root root 21 Sep 18 08:39 cron -> /lib/init/upstart-job
- -rwxr-xr-x 1 root root 2813 Nov 25 2014 dbus
- -rwxr-xr-x 1 root root 1217 Mar 7 2013 dns-clean
- lrwxrwxrwx 1 root root 21 Mar 14 2012 friendly-recovery -> /lib/init/upstart-job
- -rwxr-xr-x 1 root root 1105 May 13 2015 grub-common
- -rwxr-xr-x 1 root root 1329 Mar 13 2014 halt
- -rwxr-xr-x 1 root root 1864 Nov 12 2012 irqbalance
- -rwxr-xr-x 1 root root 1293 Mar 13 2014 killprocs
- -rwxr-xr-x 1 root root 1990 Jan 22 2013 kmod
- -rwxr-xr-x 1 root root 5491 Feb 19 2014 mysql
- -rwxr-xr-x 1 root root 4479 Mar 20 2014 networking
- -rwxr-xr-x 1 root root 1346 Mar 13 2015 ondemand
- -rwxr-xr-x 1 root root 561 Nov 25 2014 pppd-dns
- -rwxr-xr-x 1 root root 1192 May 27 2013 procps
- -rwxr-xr-x 1 root root 6120 Mar 13 2014 rc
- -rwxr-xr-x 1 root root 782 Mar 13 2014 rc.local
- -rwxr-xr-x 1 root root 117 Mar 13 2014 rcS
- -rwxr-xr-x 1 root root 639 Mar 13 2014 reboot
- -rwxr-xr-x 1 root root 2918 Jun 13 2014 resolvconf
- -rwxr-xr-x 1 root root 4395 Apr 17 2014 rsync
- -rwxr-xr-x 1 root root 2913 Dec 4 2013 rsyslog
- -rwxr-xr-x 1 root root 1226 Jul 22 2013 screen-cleanup
- -rwxr-xr-x 1 root root 3920 Mar 13 2014 sendsigs
- -rwxr-xr-x 1 root root 590 Mar 13 2014 single
- -rw-r--r-- 1 root root 4290 Mar 13 2014 skeleton
- -rwxr-xr-x 1 root root 4077 May 2 2014 ssh
- -rwxr-xr-x 1 root root 731 Feb 5 2014 sudo
- -rwxr-xr-x 1 root root 6173 Apr 14 2014 udev
- -rwxr-xr-x 1 root root 2721 Mar 13 2014 umountfs
- -rwxr-xr-x 1 root root 2260 Mar 13 2014 umountnfs.sh
- -rwxr-xr-x 1 root root 1872 Mar 13 2014 umountroot
- -rwxr-xr-x 1 root root 1361 Dec 6 2013 unattended-upgrades
- -rwxr-xr-x 1 root root 3111 Mar 13 2014 urandom
- ### SOFTWARE #############################################
- Sudo version:
- Sudo version 1.8.9p5
- MYSQL version:
- mysql Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (x86_64) using readline 6.3
- Apache version:
- Server version: Apache/2.4.7 (Ubuntu)
- Server built: Jul 24 2015 17:25:11
- Apache user configuration:
- APACHE_RUN_USER=www-data
- APACHE_RUN_GROUP=www-data
- ### INTERESTING FILES ####################################
- Useful file locations:
- /bin/nc
- /bin/netcat
- /usr/bin/wget
- /usr/bin/gcc
- Installed compilers:
- ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler
- ii gcc-4.8 4.8.4-2ubuntu1~14.04 amd64 GNU C compiler
- Can we read/write sensitive files:
- -rw-r--r-- 1 root root 1212 Sep 18 08:49 /etc/passwd
- -rw-r--r-- 1 root root 703 Sep 18 08:49 /etc/group
- -rw-r--r-- 1 root root 665 Feb 20 2014 /etc/profile
- -rw-r----- 1 root shadow 773 Sep 18 08:49 /etc/shadow
- SUID files:
- /usr/sbin/pppd
- /usr/sbin/uuidd
- /usr/lib/openssh/ssh-keysign
- /usr/lib/policykit-1/polkit-agent-helper-1
- /usr/lib/dbus-1.0/dbus-daemon-launch-helper
- /usr/lib/eject/dmcrypt-get-device
- /usr/lib/pt_chown
- /usr/bin/at
- /usr/bin/gpasswd
- /usr/bin/chsh
- /usr/bin/pkexec
- /usr/bin/newgrp
- /usr/bin/passwd
- /usr/bin/chfn
- /usr/bin/mtr
- /usr/bin/sudo
- /usr/bin/traceroute6.iputils
- /bin/su
- /bin/umount
- /bin/ping
- /bin/fusermount
- /bin/mount
- /bin/ping6
- GUID files:
- /sbin/unix_chkpwd
- /usr/sbin/uuidd
- /usr/bin/bsd-write
- /usr/bin/crontab
- /usr/bin/mail-touchlock
- /usr/bin/at
- /usr/bin/mail-unlock
- /usr/bin/chage
- /usr/bin/expiry
- /usr/bin/wall
- /usr/bin/dotlockfile
- /usr/bin/mlocate
- /usr/bin/mail-lock
- /usr/bin/ssh-agent
- /usr/bin/screen
- World-writable files (excluding /proc):
- /sys/kernel/security/apparmor/.access
- /var/www/html/blackbox/.htaccess
- Find keyword (pass) in .conf files (recursive 4 levels - output format filepath:identified line number where keyword appears):
- /etc/ltrace.conf:152:string getpass(string);
- /etc/iscsi/iscsid.conf:55:# To set a CHAP username and password for initiator
- /etc/iscsi/iscsid.conf:58:#node.session.auth.password = password
- /etc/iscsi/iscsid.conf:60:# To set a CHAP username and password for target(s)
- /etc/iscsi/iscsid.conf:63:#node.session.auth.password_in = password_in
- /etc/iscsi/iscsid.conf:69:# To set a discovery session CHAP username and password for the initiator
- /etc/iscsi/iscsid.conf:72:#discovery.sendtargets.auth.password = password
- /etc/iscsi/iscsid.conf:74:# To set a discovery session CHAP username and password for target(s)
- /etc/iscsi/iscsid.conf:77:#discovery.sendtargets.auth.password_in = password_in
- /etc/apache2/sites-available/default-ssl.conf:78: # Note that no password is obtained from the user. Every entry in the user
- /etc/apache2/sites-available/default-ssl.conf:79: # file needs this password: `xxj31ZMTZzkVA'.
- /etc/apache2/mods-available/ssl.conf:33: # Configure the pass phrase gathering process.
- /etc/apache2/mods-available/ssl.conf:35: # terminal dialog) has to provide the pass phrase on stdout.
- /etc/apache2/mods-available/ssl.conf:36: SSLPassPhraseDialog exec:/usr/share/apache2/ask-for-passphrase
- /etc/apache2/apache2.conf:186:# The following lines prevent .htaccess and .htpasswd files from being
- /etc/lvm/lvm.conf:507: # String with options passed with thin_check command. By default,
- /etc/hdparm.conf:14:## Note that if the init script causes boot problems, you can pass 'nohdparm'
- /etc/hdparm.conf:86:# --security-set-pass Set security password
- /etc/hdparm.conf:87:# security_pass = password
- /etc/hdparm.conf:90:# --user-master Select password to use
- /etc/nsswitch.conf:7:passwd: compat
- /etc/ca-certificates.conf:29:mozilla/Buypass_Class_2_CA_1.crt
- /etc/ca-certificates.conf:30:mozilla/Buypass_Class_2_Root_CA.crt
- /etc/ca-certificates.conf:31:mozilla/Buypass_Class_3_CA_1.crt
- /etc/ca-certificates.conf:32:mozilla/Buypass_Class_3_Root_CA.crt
- /etc/debconf.conf:14:# World-readable, and accepts everything but passwords.
- /etc/debconf.conf:18:Reject-Type: password
- /etc/debconf.conf:21:# Not world readable (the default), and accepts only passwords.
- /etc/debconf.conf:22:Name: passwords
- /etc/debconf.conf:27:Accept-Type: password
- /etc/debconf.conf:28:Filename: /var/cache/debconf/passwords.dat
- /etc/debconf.conf:31:# databases, one to hold passwords and one for everything else.
- /etc/debconf.conf:34:Stack: config, passwords
- /etc/debconf.conf:58:# A remote LDAP database. It is also read-only. The password is really
- /etc/init/passwd.conf:1:# passwd - clear locks on passwd and related files
- /etc/init/passwd.conf:6:# This helper clears locks on passwd to avoid million duplicate bug reports
- /etc/init/passwd.conf:12:description "Clear passwd locks"
- /etc/init/passwd.conf:18:exec rm -f /etc/gshadow.lock /etc/shadow.lock /etc/passwd.lock /etc/group.lock
- /etc/init/udevmonitor.conf:3:# The set of devices created in the "cold plug" pass is generally
- /etc/init/rcS.conf:24: # Switch, passing a magic flag
- /etc/adduser.conf:28:# Please note that system software, such as the users allocated by the base-passwd
- /usr/share/base-files/nsswitch.conf:7:passwd: compat
- /usr/share/debconf/debconf.conf:8:Reject-Type: password
- /usr/share/debconf/debconf.conf:11:Name: passwords
- /usr/share/debconf/debconf.conf:16:Accept-Type: password
- /usr/share/debconf/debconf.conf:17:Filename: /var/cache/debconf/passwords.dat
- /usr/share/debconf/debconf.conf:21:Stack: config, passwords
- /usr/share/libc-bin/nsswitch.conf:7:passwd: compat
- /usr/share/adduser/adduser.conf:28:# Please note that system software, such as the users allocated by the base-passwd
- Find keyword (pass) in .log files (recursive 2 levels):
- 'pass' not found in any .log files
- Find keyword (pass) in .ini files (recursive 4 levels - output format filepath:identified line number where keyword appears):
- ....
- All *.conf files in /etc (recursive 1 level):
- -rw-r--r-- 1 root root 2084 Apr 1 2013 /etc/sysctl.conf
- -rw-r--r-- 1 root root 604 Nov 7 2013 /etc/deluser.conf
- -rw-r--r-- 1 root root 191 Dec 4 2013 /etc/libaudit.conf
- -rw-r--r-- 1 root root 144 Sep 18 08:49 /etc/kernel-img.conf
- -rw-r--r-- 1 root root 14867 May 10 2014 /etc/ltrace.conf
- -rw-r----- 1 root fuse 280 May 24 2013 /etc/fuse.conf
- -rw-r--r-- 1 root root 552 Jan 31 2014 /etc/pam.conf
- -rw-r--r-- 1 root root 4781 Nov 15 2013 /etc/hdparm.conf
- -rw-r--r-- 1 root root 321 Jun 20 2013 /etc/updatedb.conf
- -rw-r--r-- 1 root root 1320 Aug 19 2014 /etc/rsyslog.conf
- -rw-r--r-- 1 root root 92 Feb 20 2014 /etc/host.conf
- -rw-r--r-- 1 root root 2584 Oct 10 2012 /etc/gai.conf
- -rw-r--r-- 1 root root 1260 Jul 1 2013 /etc/ucf.conf
- -rw-r--r-- 1 root root 475 Feb 20 2014 /etc/nsswitch.conf
- -rw-r--r-- 1 root root 350 Sep 18 08:48 /etc/popularity-contest.conf
- -rw-r--r-- 1 root root 8052 Sep 18 08:58 /etc/ca-certificates.conf
- -rw-r--r-- 1 root root 771 May 19 2013 /etc/insserv.conf
- -rw-r--r-- 1 root root 34 Feb 18 2015 /etc/ld.so.conf
- -rw-r--r-- 1 root root 2969 Feb 23 2014 /etc/debconf.conf
- -rw-r--r-- 1 root root 956 Feb 19 2014 /etc/mke2fs.conf
- -rw-r--r-- 1 root root 703 Jan 22 2014 /etc/logrotate.conf
- -rw-r--r-- 1 root root 321 Apr 16 2014 /etc/blkid.conf
- -rw-r--r-- 1 root root 2981 Feb 18 2015 /etc/adduser.conf
- Any interesting mail in /var/mail:
- total 8
- drwxrwsr-x 2 root mail 4096 Feb 18 2015 .
- drwxr-xr-x 13 root root 4096 Sep 18 08:48 ..
- ### SCAN COMPLETE ####################################
Advertisement
Add Comment
Please, Sign In to add comment