HowTo: Find SSH Hackers IP’s in a jiffy

Well I will keep this short and sweet:

Locate SSH hack attempts swiftly:

azio:/var/log# cat auth.log | grep refused

AND

azio:/var/log# zcat auth.log.*.gz | grep refused

Grabbing the unauthorised/nonexisting user attempts:


azio:/var/log# cat auth.log.0 | grep failed | awk '{print $9}'

The awk line takes out the single field on a Row Basis, its very neat if you just want user names on oneliners for later processing, evidence, personal security lists, such forth; what I have found is key, is learning from the hacker! Why not learn how they are going about their daily hacks. I.e. theres a clear balance between complacency and security, too much of ANYTHING is bad, too little of monitoring/lee-way to FIND the hacker; and sometimes that ironically will involve allowing access to certain systems. An article I withdrew about British Telecoms Clean Feed Software iconically said

“securing illegal activity on the internet is not about disallowing and blocking access, it’s also about allowing it so that you can monitor it, without monitoring an even more secret and underground movement”

A lot of you will disagree with this philosophy, I do too, believe it or not. However, I have to summise that there must be a balance, think about it, seriously just for a few moments. Think about .nl ’s open drug policy , it reduces crime, because a large section of what was “crime related activity” is monitored. To a few, this comparison might seem like madness, but its quite a true and real comparison; some people embrace the philosophy of monitor over secure and perhaps there is some very strong basis to that philosophy. Punters (or hackers in our case) may be doing things we do not want them to do, but isn’t it so much better to be in plainsight? Who knows - but its a nice philosophy. Consider not removing the only element that allows you to monitor hackers, which is an *interesting* idea.. Comments would really be appreciated.

And Finally…

I was so shocked at the response I got from my original SSH article I thought I’d publish a slightly larger list of attempted “hack” usernames on some more of my Unix boxen, here they are:

Over 2000 Hacks of Kiddie’ - and a good job they did of it too.

  1. !@#$%
  2. 007
  3. 1
  4. 111111
  5. 123
  6. 123123
  7. 1234
  8. 12345
  9. 123456
  10. 1234567
  11. 12345678
  12. 1928
  13. 1969
  14. 1q2w3e
  15. 50cent
  16. 5683
  17. 654321
  18. 666666
  19. 696969
  20. 777
  21. 7777
  22. 8675309
  23. 888888
  24. a
  25. a12345
  26. a1b2c3
  27. a1b2c3d4
  28. aaa
  29. aaaaaa
  30. Aaliyah
  31. aaron
  32. Aba
  33. abby
  34. abc
  35. abc123
  36. abcdef
  37. Abel
  38. abira
  39. absolut
  40. abuse
  41. access
  42. account
  43. ace
  44. aces
  45. ada
  46. adabas
  47. adabe
  48. adc
  49. add
  50. address
  51. adelina
  52. adeline
  53. adi
  54. adidas
  55. adina
  56. adine
  57. adm
  58. adm1
  59. adm2
  60. adm3
  61. adm4
  62. adm5
  63. admin
  64. admin01
  65. admin02
  66. admin03
  67. admin1
  68. admin2
  69. adminguest
  70. administrator
  71. admins
  72. admintest
  73. adminuser
  74. admissio
  75. admissions
  76. adornnyc
  77. adp
  78. adrian
  79. adriana
  80. adschool
  81. adsens10
  82. adsense
  83. adv
  84. adxis
  85. agata
  86. agent
  87. ahmed
  88. alain
  89. alan
  90. alaska
  91. albert
  92. alberto
  93. albina
  94. album
  95. alessa
  96. alex
  97. alexander
  98. alexandr
  99. alexis
  100. alfred
  101. ali
  102. alian
  103. alias
  104. alice
  105. alin
  106. alina
  107. alinus
  108. alissa
  109. alka
  110. allan
  111. allyson
  112. alpha
  113. alumni
  114. am
  115. amanda
  116. amavis
  117. amavisd
  118. amazon
  119. amber
  120. american
  121. amivaro
  122. amministrazione
  123. andi
  124. ando
  125. andra
  126. andrada
  127. andre
  128. andrea
  129. andreas
  130. andrei
  131. andrem
  132. andres
  133. andrew
  134. andrey
  135. andy
  136. angel
  137. angela
  138. angie
  139. angry
  140. animal
  141. anita
  142. anna
  143. annalisa
  144. anne
  145. annemari
  146. anonymous
  147. ant
  148. anthony
  149. antivirus
  150. antonio
  151. anvisma
  152. apache
  153. apache2
  154. apple
  155. apples
  156. appowner
  157. appserver
  158. aptproxy
  159. archie
  160. archive
  161. armande
  162. arnold
  163. aron
  164. arpesella
  165. arrobaho
  166. art
  167. arthur
  168. artificial
  169. arts
  170. as
  171. asai
  172. asayan
  173. asdf
  174. asdfgh
  175. asdfjkl
  176. ashley
  177. ASP
  178. ASP.NET
  179. astrid
  180. at
  181. athena
  182. atila
  183. august
  184. aussies
  185. austin
  186. auth
  187. auto
  188. autumn
  189. avalon
  190. awesome
  191. axel
  192. azure
  193. b
  194. baby
  195. babylon5
  196. badger
  197. bamboo
  198. bander
  199. bandit
  200. bank
  201. banking
  202. barbara
  203. Barboza
  204. barline
  205. barney
  206. baron
  207. barr
  208. bart
  209. baseball
  210. basf
  211. bash
  212. basketball
  213. basti
  214. batch
  215. batman
  216. battlefield
  217. beagle
  218. bears
  219. beatles
  220. beautiful
  221. beaver
  222. beavis
  223. belle
  224. ben
  225. benjamin
  226. benny
  227. beny
  228. berit
  229. bert
  230. beta
  231. bethnova
  232. betty
  233. biblioteca
  234. bigmac
  235. bill
  236. billy
  237. bind
  238. bingo
  239. biology
  240. bios
  241. bird
  242. bird33
  243. bitch
  244. biteme
  245. bittante
  246. bjorn
  247. black
  248. blackvirus
  249. blast
  250. blazer
  251. blenche
  252. blessing
  253. blonde
  254. blue
  255. bluebird
  256. bnc
  257. board
  258. bob
  259. bobby
  260. bobsteel
  261. bolletta
  262. bombik
  263. bond007
  264. bonnie
  265. booboo
  266. booger
  267. boogie
  268. book
  269. boomer
  270. bordes
  271. boris
  272. boss
  273. boston
  274. bot
  275. bouavista
  276. bouncer
  277. box
  278. bpneus
  279. bradley
  280. brady
  281. brambilla
  282. bran
  283. brandon
  284. brandy
  285. brazil
  286. bree
  287. brenda
  288. bret
  289. brett
  290. brian
  291. bright
  292. brody
  293. brown
  294. brre
  295. bruce
  296. bryan
  297. bryce
  298. bubba
  299. bubba1
  300. bubbles
  301. buddy
  302. buffy
  303. build
  304. builder
  305. buser
  306. buster
  307. butthead
  308. button
  309. buttons
  310. by
  311. byozko
  312. byshekil
  313. bytes
  314. bytmr
  315. ca
  316. caagroup
  317. cactus
  318. cafe
  319. caitlin
  320. camaro
  321. camera
  322. camtrywoodie
  323. canacomp
  324. canada
  325. candy
  326. canna
  327. cap
  328. captain
  329. car
  330. card
  331. carina
  332. carl
  333. carlo
  334. carlos
  335. carmen
  336. caro
  337. carole
  338. caroline
  339. carrie
  340. casey
  341. casper
  342. cat
  343. catalog
  344. catch22
  345. catherin
  346. catherine
  347. cathy
  348. ccc
  349. cecilia
  350. cedru
  351. celia
  352. cesar
  353. cgi
  354. ch
  355. chaineur
  356. challenge
  357. chance
  358. chantal
  359. chao
  360. char
  361. charity
  362. charles
  363. charlie
  364. charlotte
  365. check
  366. cheese
  367. chelsea
  368. chelsey
  369. chemistry
  370. chenyr
  371. chepurnaja
  372. cheryl
  373. cherylen
  374. chevrier
  375. chicken
  376. china
  377. chloe
  378. choco
  379. chocolate
  380. choil
  381. chr123
  382. chris
  383. chris1
  384. chrisq
  385. christian
  386. christin
  387. christoph
  388. chtseng
  389. chuck
  390. cindy
  391. cipy
  392. circulo
  393. cisco
  394. city
  395. cjohnson
  396. claire
  397. clamav
  398. clancy
  399. clark
  400. class
  401. class2004
  402. class2005
  403. claudia
  404. clerici
  405. cliente
  406. clinton
  407. clipper
  408. close
  409. cloudette
  410. clydie
  411. cmd
  412. coala
  413. coca
  414. cocacola
  415. cock
  416. cocolino
  417. codesign
  418. codesigndev
  419. coffee
  420. coil
  421. coke
  422. colbourne
  423. colin
  424. collins
  425. coltrane
  426. columbia
  427. com
  428. commando
  429. commons
  430. compaq
  431. compton
  432. computer
  433. confixx
  434. congo
  435. connect
  436. conner
  437. conrad
  438. contact
  439. conti
  440. contra
  441. control
  442. cooper
  443. cooter
  444. copper
  445. copy
  446. core
  447. corinna
  448. cornelia
  449. cosmin
  450. cosmos
  451. cosmote
  452. cougar
  453. courtney
  454. cousin
  455. cowboy
  456. cozma
  457. cozo
  458. cozo1
  459. cozo123
  460. cpanel
  461. cracker
  462. craig
  463. crawford
  464. credit
  465. cricket
  466. crimson
  467. cristina
  468. cruise
  469. crystal
  470. crystale
  471. cs
  472. cshore
  473. cssh
  474. cuck
  475. curtis
  476. cut
  477. cvs
  478. cvsuser
  479. cyan
  480. cyber
  481. cybird
  482. cyborg
  483. cyclone
  484. cym
  485. cynthia
  486. cyrano
  487. cyrus
  488. cyrusimap
  489. d
  490. dagmar
  491. daigneault
  492. dakota
  493. dale
  494. dallas
  495. damiano
  496. dan
  497. dance
  498. dangaard
  499. dani
  500. daniel
  501. danielle
  502. danny
  503. darcy
  504. dario
  505. dark
  506. darkblue
  507. daro
  508. darren
  509. darwin
  510. das
  511. data
  512. database
  513. date
  514. dave
  515. david
  516. david1
  517. davidson
  518. dawn
  519. day
  520. db
  521. db4web
  522. dbadmin
  523. dbus
  524. dean
  525. debbie
  526. deboer
  527. debra
  528. debug
  529. dedicated
  530. delia
  531. deliver
  532. delta
  533. demo
  534. demouser
  535. demutis
  536. denied
  537. denis
  538. denise
  539. dennis
  540. derek
  541. descoteaux
  542. design
  543. desktop
  544. deutsch
  545. devi
  546. device
  547. dexter
  548. dhana
  549. dharmesh
  550. dhcp
  551. diablo
  552. diana
  553. dick
  554. digital
  555. dilbert
  556. dima
  557. dimi
  558. dimmy
  559. dion
  560. dirk
  561. diskchk
  562. disney
  563. distins
  564. divine
  565. dmayer
  566. doc
  567. doctor
  568. dog
  569. dogdayca
  570. dogspeak
  571. doina
  572. dollars
  573. dolphin
  574. domain
  575. domainki
  576. domareal
  577. dominic
  578. dominik
  579. dominique
  580. don
  581. donald
  582. donna
  583. dookie
  584. doom
  585. dorms
  586. dorothy
  587. dorval
  588. doug
  589. douglas
  590. dovecot
  591. downloads
  592. dracar
  593. dragon
  594. dreamer
  595. dreams
  596. dt
  597. dttw
  598. duck
  599. duckie
  600. duke
  601. dulap
  602. dumbass
  603. dummy
  604. dundee
  605. dupons
  606. dvd
  607. e-mail
  608. ea
  609. eagles
  610. earl
  611. east
  612. ebner
  613. echo
  614. echoman
  615. ed
  616. eddie
  617. edgar
  618. edit
  619. edom
  620. edom1
  621. education
  622. edward
  623. edwards
  624. eeyore
  625. eggdrop
  626. eia
  627. eight
  628. einstein
  629. eismann
  630. eismannw
  631. electra
  632. elena
  633. elephant
  634. eleve
  635. elizabeth
  636. ella
  637. ellelweb
  638. ellen
  639. elvis
  640. ema
  641. email
  642. emanuela
  643. emberton
  644. emcad1
  645. emia
  646. emil
  647. emily
  648. emma
  649. emsweb
  650. engineer
  651. english
  652. englishp
  653. enquiries
  654. enquiry
  655. enter
  656. entry
  657. enzo
  658. eppc
  659. epro
  660. eps1
  661. eric
  662. erica
  663. erika
  664. ernest
  665. eroadmin
  666. erricson
  667. esoteric
  668. esther
  669. etc
  670. etont
  671. euroalm
  672. eurofax
  673. europe
  674. eurosport
  675. eurosports
  676. eve
  677. exe
  678. exim
  679. Exit
  680. explorer
  681. export
  682. ezweb
  683. fabian
  684. fabris
  685. faith
  686. fakoii
  687. falcon
  688. family
  689. fantasti
  690. fantasti1
  691. farmer
  692. favreau
  693. fax
  694. fax1
  695. fax2
  696. faxbox
  697. faye
  698. fbi
  699. fedora
  700. felix
  701. ferari
  702. ferd
  703. fernando
  704. ferrari
  705. ffffff
  706. file
  707. filter
  708. fine
  709. fire
  710. firebird
  711. firestarter
  712. firewall
  713. firstdiv
  714. fish
  715. fisher
  716. fishing
  717. five
  718. fjcn
  719. flamingo
  720. flavia
  721. fletcher
  722. flip
  723. flipper
  724. flopy
  725. florian
  726. flower
  727. floyd
  728. fluffy
  729. fly
  730. fnet
  731. foobar
  732. football
  733. for
  734. ford
  735. form
  736. forum
  737. fountain
  738. four
  739. fox
  740. foxtrot
  741. france
  742. francis
  743. frank
  744. franklin
  745. franziska
  746. freak1
  747. fred
  748. freddy
  749. free
  750. freedom
  751. freeze
  752. fregio
  753. friday
  754. friend
  755. friends
  756. frj
  757. frodo
  758. frog
  759. froggy
  760. ftp1
  761. ftpadmin
  762. ftpd
  763. ftpftp
  764. ftpguest
  765. ftpin
  766. ftpout
  767. ftptest
  768. ftpuser
  769. ftpusr01
  770. fuck
  771. fucker
  772. fuckoff
  773. fullas
  774. fullservice
  775. fun
  776. g
  777. gabriel
  778. gabriell
  779. galaxy
  780. galileo
  781. gam
  782. gambit
  783. gamma
  784. gamroot
  785. gandalf
  786. garcia
  787. garden
  788. garfield
  789. garlic
  790. garnet
  791. garry
  792. gary
  793. gast
  794. gch
  795. genesis
  796. genius
  797. geoff
  798. geography
  799. george
  800. georgia
  801. gerard
  802. gerry
  803. gest
  804. get
  805. ggarcia
  806. ghent
  807. ghislain
  808. giants
  809. gill
  810. gillen
  811. gilles
  812. gimcre
  813. gina
  814. ginger
  815. giopre
  816. gizmo
  817. global
  818. goba
  819. godunov
  820. godzilla
  821. goforit
  822. gold
  823. goldie
  824. golf
  825. golfer
  826. gonzales
  827. goober
  828. goodfeel
  829. goodluck
  830. goofy
  831. google
  832. gopher
  833. gordon
  834. gosia
  835. gov
  836. goverment
  837. grace
  838. graham
  839. gramet
  840. graphics
  841. grateful
  842. gray
  843. greateye
  844. green
  845. greenday
  846. gregory
  847. gregott
  848. grep
  849. grey
  850. groovy
  851. groups
  852. grover
  853. gruiz
  854. gs5fb1
  855. gtool
  856. guest
  857. guest01
  858. guest02
  859. guest03
  860. guest1
  861. guest123
  862. guest2
  863. guest3
  864. guestadmin
  865. guesttest
  866. guestuser
  867. guitar
  868. guiz
  869. guns
  870. hacker
  871. haldaemon
  872. halt
  873. hamburg
  874. hammer
  875. handy
  876. hanner
  877. hansolo
  878. happy
  879. happy1
  880. hardware
  881. hardy
  882. harky
  883. harley
  884. harmony
  885. harry
  886. harrypotter
  887. hary
  888. hatcher
  889. hate
  890. hauxing
  891. haxor
  892. hazel
  893. hccu
  894. heather
  895. hector
  896. heidi
  897. helen
  898. helena
  899. hello
  900. helmut
  901. help
  902. helpme
  903. hendrix
  904. henry
  905. herbert
  906. herman
  907. herve
  908. hicks
  909. hiena
  910. hk
  911. hobi
  912. hockey
  913. homer
  914. honda
  915. honey
  916. hoops
  917. horde
  918. horizon
  919. hornet
  920. horses
  921. horst
  922. hosting
  923. hotdog
  924. Hotrum
  925. house
  926. houston
  927. howard
  928. hp
  929. hphk
  930. hpjb
  931. hpph
  932. hr
  933. hst
  934. htt
  935. http
  936. httpd
  937. htttp
  938. hudson
  939. hugh
  940. hula
  941. hummer
  942. hunter
  943. hy
  944. hypo
  945. ian
  946. ianp
  947. IBM
  948. ice
  949. icecream
  950. iceman
  951. ics
  952. id
  953. ident
  954. iesse
  955. if
  956. ifconfig
  957. igor
  958. iguana
  959. ileana
  960. iloveyou
  961. image
  962. imagine
  963. imail
  964. impala
  965. in
  966. ina
  967. index
  968. india
  969. indiana
  970. indigo
  971. inet
  972. info
  973. info1
  974. info2
  975. info3
  976. info4
  977. info5
  978. infoadmin
  979. infoguest
  980. informix
  981. infotest
  982. infouser
  983. ingo
  984. ingres
  985. ingrid
  986. insane
  987. inside
  988. install
  989. intercon
  990. internet
  991. interview
  992. inweb
  993. ioana
  994. ionel
  995. ionela
  996. ionica
  997. iq
  998. ircd
  999. ircop
  1000. irish
  1001. iroman
  1002. ironman
  1003. is
  1004. isabel
  1005. isabelle
  1006. ishida
  1007. island
  1008. ismail
  1009. it
  1010. italy
  1011. ivory
  1012. jaap
  1013. jabber
  1014. jachy
  1015. jack
  1016. jacobs
  1017. jacques
  1018. jailshell
  1019. jake
  1020. james
  1021. jamison
  1022. Janas
  1023. jane
  1024. janeben
  1025. janet
  1026. janice
  1027. jarid
  1028. jasmin
  1029. jasmine
  1030. jason
  1031. jason1
  1032. jasper
  1033. jay
  1034. jean
  1035. jeanette
  1036. jeanne
  1037. jed
  1038. jeff
  1039. jeffrey
  1040. jenifer
  1041. jenni
  1042. jennifer
  1043. jeremy
  1044. jermaine
  1045. jerry
  1046. jesse
  1047. jessica
  1048. jesus
  1049. jesus1
  1050. Jewel
  1051. jewels
  1052. jgarcia
  1053. jim
  1054. jimmy
  1055. jinzen
  1056. jlopez
  1057. joana
  1058. joanna
  1059. joanne
  1060. jobs
  1061. jocelyn
  1062. joe
  1063. joel
  1064. joey
  1065. john
  1066. jok
  1067. joker
  1068. jolene
  1069. joller
  1070. jonas
  1071. jonathan
  1072. jordan
  1073. jordi
  1074. joseph
  1075. joshua
  1076. jouellet
  1077. joyce
  1078. jtaylor
  1079. jubilate
  1080. judy
  1081. julian
  1082. julie
  1083. julie1
  1084. junior
  1085. juno
  1086. jupiter
  1087. juro
  1088. justice
  1089. justin
  1090. justin1
  1091. jvc
  1092. k
  1093. k-nigauri
  1094. kaitlin
  1095. karen
  1096. karl
  1097. karol
  1098. katherine
  1099. kathi
  1100. kathleen
  1101. kathrin
  1102. kathy
  1103. katie
  1104. kayten
  1105. kazakov
  1106. kb
  1107. keith
  1108. kelly
  1109. kelly1
  1110. kelsey
  1111. kennedy
  1112. kent
  1113. kermit
  1114. kernel
  1115. kerri
  1116. kevin
  1117. kevin1
  1118. keyboard
  1119. kieran
  1120. killer
  1121. kim
  1122. kimh
  1123. kingfish
  1124. kirk
  1125. kirrio
  1126. kitty
  1127. kitz
  1128. kitz1
  1129. kitz123
  1130. kk
  1131. kkd
  1132. kkk
  1133. klaus
  1134. kmem
  1135. knicks
  1136. knight
  1137. koala
  1138. kochiev
  1139. komikis
  1140. komikis1
  1141. konforti
  1142. konforti1
  1143. kovic
  1144. kozalak
  1145. kraft
  1146. kristy
  1147. kritlow
  1148. kryddbut
  1149. ksiegowa
  1150. ktaclan
  1151. kurt
  1152. kuryanov
  1153. lab
  1154. labbe
  1155. laboratory
  1156. labs
  1157. lacrosse
  1158. lady
  1159. lake
  1160. lakers
  1161. lamas
  1162. lamas1
  1163. laplante
  1164. lapshova
  1165. laris
  1166. larri
  1167. larry
  1168. larry1
  1169. last
  1170. lauren
  1171. lcorbetta
  1172. lcy
  1173. ldap
  1174. leave
  1175. ledzep
  1176. lee
  1177. left
  1178. Lenntioni
  1179. leonard
  1180. leopold
  1181. leslie
  1182. less
  1183. lestat
  1184. leticia
  1185. letitia
  1186. letmein
  1187. leyener
  1188. lg
  1189. lib
  1190. liberty
  1191. library
  1192. lili
  1193. lincoln
  1194. linda
  1195. link
  1196. linux
  1197. lionking
  1198. lisa
  1199. lists
  1200. live
  1201. lizard
  1202. lloyd
  1203. lm
  1204. lmoroni
  1205. lnx
  1206. loading
  1207. loading1
  1208. loading123
  1209. loffi
  1210. logan
  1211. login
  1212. logs
  1213. london
  1214. lonnie
  1215. loonie
  1216. lorenas
  1217. lorenas1
  1218. lorenas123
  1219. lorraine
  1220. lost
  1221. Lou
  1222. louise
  1223. love
  1224. ls
  1225. luana
  1226. lucas
  1227. lucian
  1228. luciano
  1229. lucky
  1230. lucky1
  1231. lucy
  1232. luis
  1233. luisa
  1234. luke
  1235. lybrary
  1236. lydia
  1237. lynn
  1238. lynx
  1239. m
  1240. mab
  1241. machado
  1242. machine
  1243. mackenzie
  1244. mad
  1245. mada
  1246. maddog
  1247. maddy
  1248. madison
  1249. magazine
  1250. magenta
  1251. maggie
  1252. maggiori
  1253. magic
  1254. mailbox
  1255. mailftp
  1256. maillist
  1257. mailman
  1258. mailnull
  1259. mailtest
  1260. majordom
  1261. majordomo
  1262. maketour
  1263. makl
  1264. mambo
  1265. mamica
  1266. manager
  1267. mandela
  1268. mandrake
  1269. manfred
  1270. mantini
  1271. mantra
  1272. manu
  1273. manuel
  1274. manuela
  1275. marc
  1276. marcacygba
  1277. marcel
  1278. marcoux
  1279. marcus
  1280. margaret
  1281. maria
  1282. marian
  1283. marie
  1284. marijke
  1285. marina
  1286. mario
  1287. marion
  1288. mariposa
  1289. mark
  1290. market
  1291. marketing
  1292. marko
  1293. marlboro
  1294. marley
  1295. maroon
  1296. martano
  1297. martin
  1298. martin1
  1299. martina
  1300. marty
  1301. marvin
  1302. mary
  1303. maryann
  1304. maryjane
  1305. maryse
  1306. masahiro
  1307. masatoshi
  1308. massimo
  1309. master
  1310. master1
  1311. masters
  1312. math
  1313. mathildi
  1314. matrix
  1315. matt
  1316. matte
  1317. Matthew
  1318. maureen
  1319. mauzone
  1320. maverick
  1321. max
  1322. maxim
  1323. mayday
  1324. maysoft
  1325. mazda1
  1326. mb
  1327. mba
  1328. mcedit
  1329. mcintyem
  1330. mdb
  1331. mdom
  1332. me
  1333. meaghan
  1334. meagher
  1335. meble
  1336. megaherz
  1337. megaherz1
  1338. megan
  1339. melanie
  1340. meleri
  1341. mensuck
  1342. menu
  1343. mercedes
  1344. mercury
  1345. merlin
  1346. metal
  1347. metallic
  1348. metcalfe
  1349. mfg
  1350. mgrueniger
  1351. miceli
  1352. michaela
  1353. michel
  1354. michele
  1355. michi
  1356. mickey
  1357. micmis
  1358. micro
  1359. midori
  1360. mika
  1361. mikael
  1362. mike
  1363. mikey
  1364. mikrotik
  1365. mill
  1366. millie
  1367. milss
  1368. minnie
  1369. miolo
  1370. mirage
  1371. miriam
  1372. missy
  1373. misty
  1374. mit
  1375. mitch
  1376. mitchell
  1377. mixit
  1378. mixit1
  1379. mixit123
  1380. miyabo
  1381. mjwoh
  1382. mkdir
  1383. mlehmann
  1384. mmm
  1385. moce
  1386. molly
  1387. molson
  1388. mom
  1389. monday
  1390. monet
  1391. money
  1392. money1
  1393. moni
  1394. monica
  1395. monitor
  1396. monkey
  1397. monopoly
  1398. mookie
  1399. moon
  1400. moose
  1401. more
  1402. morgan
  1403. morin
  1404. moroni
  1405. mother
  1406. motorola
  1407. mountain
  1408. mouse
  1409. mrtg
  1410. mrtg1
  1411. mrtg2
  1412. mrtg3
  1413. ms-meble
  1414. msg
  1415. muffin
  1416. muonline
  1417. murphy
  1418. murray
  1419. music
  1420. musiq
  1421. mustang
  1422. mv
  1423. mwill
  1424. my
  1425. myra
  1426. mysql
  1427. nadine
  1428. nagaoka
  1429. nagios
  1430. nakajima
  1431. name
  1432. named
  1433. nameserver
  1434. nance
  1435. nancy
  1436. naomi
  1437. nasa
  1438. nascar
  1439. natale
  1440. natalia
  1441. natasha
  1442. nathan
  1443. navy
  1444. ncc1701
  1445. ncc1701d
  1446. ncc1701e
  1447. ne
  1448. nelson
  1449. neo
  1450. neoway
  1451. nesbitt
  1452. net
  1453. netdump
  1454. netstat
  1455. netware
  1456. network
  1457. nevada
  1458. new
  1459. newpass
  1460. newsletter
  1461. newsmagazine
  1462. newsroom
  1463. newuser
  1464. newwayto
  1465. newyork
  1466. nfls
  1467. nfsnobody
  1468. nguyen
  1469. nheen
  1470. nhtogo
  1471. nice
  1472. nicholas
  1473. nick
  1474. nicky
  1475. nico
  1476. nicole
  1477. nike
  1478. niko
  1479. nikoya
  1480. nils
  1481. nimrod
  1482. nina
  1483. nine
  1484. niners
  1485. nirtech
  1486. nirtech1
  1487. nirvana
  1488. nisse
  1489. noah
  1490. noc
  1491. nokia
  1492. nologin
  1493. none
  1494. noprod
  1495. normore
  1496. north
  1497. noseborra
  1498. not
  1499. nothing
  1500. notice
  1501. novamerican
  1502. ns
  1503. ntp
  1504. nuke
  1505. object
  1506. ocdoo
  1507. oconnor
  1508. octavio
  1509. october
  1510. odan
  1511. odctwd
  1512. office
  1513. offline
  1514. ok
  1515. ola
  1516. oleg
  1517. olga
  1518. olive
  1519. oliver
  1520. olivia
  1521. omega
  1522. omereila
  1523. on
  1524. ondeleta
  1525. one
  1526. online
  1527. open
  1528. oper
  1529. operator
  1530. oracle
  1531. oralcle
  1532. orange
  1533. org
  1534. oriana
  1535. orosz
  1536. os_ta
  1537. oscar
  1538. ospite
  1539. ossy
  1540. OU812
  1541. out
  1542. Ovidiu
  1543. oxana
  1544. oxford
  1545. pacific
  1546. pahsiung
  1547. painter
  1548. palge
  1549. pamela
  1550. panasonic
  1551. panel
  1552. pangeea
  1553. pankaj
  1554. pantera
  1555. papaye
  1556. paris
  1557. parker
  1558. party
  1559. pasetto
  1560. pass
  1561. passwd
  1562. password
  1563. pat
  1564. patricia
  1565. patrick
  1566. paul
  1567. pc
  1568. pcap
  1569. pcguest
  1570. pe
  1571. peace
  1572. peaches
  1573. peanut
  1574. pearljam
  1575. pedro
  1576. pedropl
  1577. pellegrin
  1578. penelope
  1579. penguin
  1580. pentagon
  1581. pentium
  1582. pepe
  1583. pepper
  1584. pepsi
  1585. peru
  1586. pete
  1587. peter
  1588. peterk
  1589. petunia
  1590. pgarcia
  1591. pgsql
  1592. phantom
  1593. phil
  1594. philadelphia
  1595. philip
  1596. philipp
  1597. philippe
  1598. philly
  1599. phish
  1600. phoenix
  1601. phoenix1
  1602. photo
  1603. photonx
  1604. php
  1605. phpbb
  1606. physics
  1607. piano
  1608. pickle
  1609. pico
  1610. picture
  1611. pierre
  1612. piglet
  1613. pina
  1614. pink
  1615. pionner
  1616. pippo
  1617. pit
  1618. pizza
  1619. pkostal
  1620. pl
  1621. plamondon
  1622. planning
  1623. play
  1624. player
  1625. please
  1626. pm
  1627. poiana
  1628. poiuyt
  1629. pokus
  1630. polaris
  1631. poohbear
  1632. pookie
  1633. pop
  1634. popa3d
  1635. popcorn
  1636. popey
  1637. popey1
  1638. popey123
  1639. porsche
  1640. porsche911
  1641. portal
  1642. porter
  1643. post
  1644. postfix
  1645. postgres
  1646. postmaster
  1647. powerhorse
  1648. powernet
  1649. pp
  1650. ppp
  1651. praga
  1652. premar
  1653. presiden
  1654. prince
  1655. princess
  1656. print
  1657. printer
  1658. project
  1659. protocol
  1660. prova
  1661. ps
  1662. pssu
  1663. psy
  1664. psybnc
  1665. psycho
  1666. pub
  1667. pumpkin
  1668. punkin
  1669. purify
  1670. purple
  1671. PuTTYPuTTYPuTTYPuTTYPuTTYfirebird
  1672. pwrchute
  1673. pynn
  1674. pyramid
  1675. qmaill
  1676. qmailp
  1677. qmailq
  1678. qmailr
  1679. qmails
  1680. qq
  1681. qqq
  1682. qtss
  1683. quake
  1684. quellet
  1685. qwerty
  1686. r
  1687. r00t
  1688. rabbit
  1689. rabia
  1690. rachel
  1691. radiomail
  1692. radu
  1693. rain
  1694. rainbow
  1695. random
  1696. randy
  1697. ranger
  1698. raphael
  1699. rarin
  1700. rascal
  1701. raul
  1702. ray1
  1703. raymond
  1704. rayone
  1705. rchp
  1706. rebecca
  1707. rebelde
  1708. recepcao
  1709. recepcja
  1710. recruit
  1711. red
  1712. redbul
  1713. redbull
  1714. reddog
  1715. redhat
  1716. remillard
  1717. renata
  1718. research
  1719. resin
  1720. resume
  1721. rex
  1722. richard
  1723. richter
  1724. rigamonti
  1725. right
  1726. rights
  1727. robert
  1728. roberta
  1729. robin
  1730. robinson
  1731. robomail
  1732. roces
  1733. rock
  1734. rocket
  1735. rocky
  1736. roger
  1737. rom
  1738. roman
  1739. romania
  1740. romanian
  1741. romina
  1742. ron
  1743. ronald
  1744. ronny
  1745. ROOT
  1746. root2
  1747. rootadmin
  1748. rootguest
  1749. roottest
  1750. rootuser
  1751. rope
  1752. rose
  1753. rosebud
  1754. rosenfeld
  1755. roses
  1756. rossana
  1757. rossi
  1758. roto
  1759. route66
  1760. router
  1761. roxana
  1762. roxanne
  1763. roxi
  1764. roxy
  1765. royal
  1766. royalking
  1767. royli
  1768. rpc
  1769. rpcuser
  1770. rpm
  1771. rr
  1772. rtos
  1773. running
  1774. russ
  1775. rusticos
  1776. ruthy
  1777. ruxandra
  1778. rvl
  1779. ryan
  1780. ryohei
  1781. sabin
  1782. sabina
  1783. sabrina
  1784. sad
  1785. sadie
  1786. sale
  1787. sales
  1788. salmon
  1789. sam
  1790. samara
  1791. samba
  1792. samir
  1793. sammmas
  1794. samson
  1795. sandi
  1796. sandra
  1797. sandro
  1798. sandy
  1799. santillo
  1800. sapdb
  1801. sara
  1802. sarah
  1803. sarikaya
  1804. sas
  1805. sascha
  1806. sasha
  1807. sassysam
  1808. sastrade
  1809. satelit
  1810. saturday
  1811. saturn
  1812. sauberb
  1813. savebiz
  1814. sb
  1815. scan
  1816. Schaick
  1817. schirmi
  1818. school
  1819. school1
  1820. science
  1821. scooter
  1822. scorpion
  1823. scott
  1824. sean
  1825. search
  1826. security
  1827. securityagent
  1828. sef
  1829. select
  1830. send
  1831. serge
  1832. sergei
  1833. server
  1834. service
  1835. serwis
  1836. seta
  1837. seven
  1838. sex
  1839. sgi
  1840. sgm
  1841. sgmdev
  1842. sh
  1843. shadow
  1844. shalom
  1845. shannon
  1846. share
  1847. sharon
  1848. shebamn
  1849. shebann
  1850. sheena
  1851. sheila
  1852. shell
  1853. shhk
  1854. shipping
  1855. shit
  1856. shithead
  1857. shop
  1858. shopadi
  1859. shopping
  1860. shore
  1861. show
  1862. shsup
  1863. shutdown
  1864. shuy
  1865. shuyu
  1866. sid
  1867. siemens
  1868. sierra
  1869. sigchi
  1870. sigma
  1871. sign
  1872. silence
  1873. silver
  1874. sim
  1875. simi
  1876. simina
  1877. simon
  1878. simona
  1879. simone
  1880. simple
  1881. simulation
  1882. simulator
  1883. sinja
  1884. sinteza
  1885. sirus
  1886. sister
  1887. site
  1888. sivan
  1889. sivan1
  1890. sivan123
  1891. six
  1892. skeeter
  1893. skiing
  1894. skip
  1895. skippy
  1896. skranetcan
  1897. skyrix
  1898. slayzer
  1899. slut
  1900. smart
  1901. smbuser
  1902. smile
  1903. smmsp
  1904. smn
  1905. smokey
  1906. snaka
  1907. snapple
  1908. snoopy
  1909. snort
  1910. snow
  1911. snowball
  1912. soccer
  1913. socta
  1914. sofia
  1915. solaris
  1916. sophie
  1917. sorin
  1918. sorina
  1919. sos
  1920. sound
  1921. sound11
  1922. soutec
  1923. south
  1924. sowmow
  1925. space
  1926. spam
  1927. sparc
  1928. sparky
  1929. sparrow
  1930. special
  1931. spencer
  1932. spike
  1933. spong
  1934. sport
  1935. sports
  1936. spring
  1937. sql
  1938. squid
  1939. squirrelmail
  1940. src
  1941. ss
  1942. ssh
  1943. stacey
  1944. staff
  1945. stahl
  1946. stan
  1947. stanley
  1948. star
  1949. startrek
  1950. static
  1951. station
  1952. stealth
  1953. steelers
  1954. stef
  1955. stefan
  1956. stefana
  1957. stephan
  1958. stephanie
  1959. stephen
  1960. steve
  1961. steven
  1962. stewart
  1963. stick
  1964. stick1
  1965. stimpy
  1966. storm
  1967. struf
  1968. stuart
  1969. student
  1970. students
  1971. Studio
  1972. sty
  1973. success
  1974. sue
  1975. suhodolskyi
  1976. summer
  1977. summers
  1978. sun
  1979. sunday
  1980. suner
  1981. sunflower
  1982. sunny
  1983. sunos
  1984. sunshine
  1985. sunsun
  1986. superman
  1987. suporte
  1988. support
  1989. sus
  1990. susan
  1991. susanna
  1992. susanne
  1993. suse
  1994. sushi
  1995. susi
  1996. suva
  1997. suzuki
  1998. suzy
  1999. sven
  2000. swap
  2001. sweetie
  2002. sya
  2003. sybase
  2004. sydney
  2005. sylvia
  2006. syncron
  2007. sysadmin
  2008. system
  2009. systuser
  2010. szef
  2011. taberner
  2012. tads
  2013. takagi
  2014. takeall
  2015. takemasa
  2016. tamara
  2017. tami
  2018. tammy
  2019. tanabe
  2020. tanja
  2021. tanya
  2022. tar
  2023. tara
  2024. tatyana
  2025. Taurus
  2026. tavi
  2027. taylor
  2028. teacher
  2029. tear
  2030. tech
  2031. technic
  2032. technicom
  2033. technik
  2034. techno
  2035. technology
  2036. telecom
  2037. telnet
  2038. telnetd
  2039. temp
  2040. temporary
  2041. ten
  2042. tennis
  2043. teresa
  2044. teresavd
  2045. termopan
  2046. terry
  2047. test
  2048. test01
  2049. test02
  2050. test03
  2051. test1
  2052. test11
  2053. test123
  2054. test2
  2055. test3
  2056. testadmin
  2057. testbox
  2058. teste
  2059. tester
  2060. testftp
  2061. testguest
  2062. testing
  2063. testuser
  2064. text
  2065. tgz
  2066. theo
  2067. theresa
  2068. Therese
  2069. thomas
  2070. three
  2071. thunderbird
  2072. thursday
  2073. thx1138
  2074. tiger
  2075. tigers
  2076. tigger
  2077. tim
  2078. tina
  2079. tinicka
  2080. tino
  2081. tip
  2082. tir
  2083. tiziana
  2084. tlent
  2085. tm
  2086. tma
  2087. tmp
  2088. tmrl
  2089. to
  2090. tobaldo
  2091. tobi
  2092. toddste
  2093. togo
  2094. tokend
  2095. tom
  2096. tomadmin
  2097. tomaso
  2098. tomato
  2099. tomcat
  2100. tomcat4
  2101. tommy
  2102. tomoko
  2103. tonses
  2104. tony
  2105. toolchain
  2106. toor
  2107. top
  2108. topgun
  2109. topic
  2110. topliner
  2111. toshiko
  2112. toto
  2113. toyota
  2114. traci
  2115. training
  2116. travel
  2117. trib
  2118. trinity
  2119. tristan
  2120. trium
  2121. troubridge
  2122. truck
  2123. trustno1
  2124. ts
  2125. tt
  2126. ttt
  2127. tty
  2128. tuesday
  2129. tutik
  2130. two
  2131. ubas
  2132. uegaki
  2133. uesrguest
  2134. uk
  2135. uma
  2136. unix
  2137. unknown
  2138. unseen
  2139. update
  2140. upload
  2141. uraganu
  2142. urea
  2143. ursula
  2144. us
  2145. usa
  2146. user
  2147. user10
  2148. user12
  2149. useradmin
  2150. userftp
  2151. userid
  2152. username
  2153. users
  2154. usertest
  2155. usr
  2156. uu
  2157. valeria
  2158. valhalla
  2159. van
  2160. vcsa
  2161. vertaf
  2162. vertafdev
  2163. very
  2164. vicent
  2165. viceroy
  2166. vicky
  2167. victor
  2168. victoria
  2169. victory
  2170. video
  2171. view
  2172. vin
  2173. vince
  2174. violet
  2175. viper1
  2176. vir
  2177. virus
  2178. visitor
  2179. vismara
  2180. vladimir
  2181. vlk
  2182. vnc
  2183. volkov
  2184. volodya
  2185. volvo
  2186. voodoo
  2187. vpn
  2188. vpopmail
  2189. vscan
  2190. wally
  2191. walter
  2192. wancw
  2193. wang
  2194. wanker
  2195. watson
  2196. wayne
  2197. wcchao
  2198. web
  2199. web1
  2200. web2
  2201. webaccount
  2202. webadmin
  2203. webalizer
  2204. webcam
  2205. webmail
  2206. webmaster
  2207. webpop
  2208. webportal
  2209. Websphere
  2210. wednesday
  2211. weglarzy
  2212. welcome
  2213. wesley
  2214. west
  2215. wget
  2216. whatever
  2217. Where
  2218. whisky
  2219. white
  2220. whtest
  2221. wilfe
  2222. will
  2223. william
  2224. willie
  2225. willpower
  2226. wilma
  2227. wilson
  2228. windows
  2229. windowserver
  2230. winner
  2231. winter
  2232. wizard
  2233. wladimir
  2234. wolfgang
  2235. wolman
  2236. wolpes
  2237. wolves
  2238. word
  2239. work
  2240. workshop
  2241. ww
  2242. www
  2243. www-run
  2244. www1
  2245. wwwdata
  2246. wwwrun
  2247. xd
  2248. xenia
  2249. xfs
  2250. xgridagent
  2251. xgridcontroller
  2252. xiaolong
  2253. xp
  2254. xvf
  2255. xxx
  2256. xyz123
  2257. yahoo
  2258. yamagiwa
  2259. yamami
  2260. yanc
  2261. yanick
  2262. yappy
  2263. yasuda
  2264. year
  2265. yellow
  2266. yenhung
  2267. yessi
  2268. yhchen
  2269. yingst
  2270. yoko
  2271. yolanda
  2272. yolande
  2273. you
  2274. z
  2275. za
  2276. zandra
  2277. zapata
  2278. zecca
  2279. zephyr
  2280. zero
  2281. ziggy
  2282. Zmeu
  2283. zoe
  2284. zoliba
  2285. zorro
  2286. zxcvbnm
  2287. zxvf
  2288. zz
  2289. zzz

18 Comments »

  1. andy said,

    October 13, 2006 @ 9:47 pm

    I use this line… Just gives me the IPs I need to throw into APF… ;) Oh, I should mention that this is on RHEL4

    cat secure | grep Invalid | awk ‘{print $10}’ | sort -u

  2. azio said,

    October 14, 2006 @ 1:49 am

    Hey andy, thanks a lot for your comment , I’ll have to have a play with sort :) I’ll add it to the article tomorrow evening!

    Best Wishes,
    Azio

  3. mike said,

    October 14, 2006 @ 5:35 am

    and if you want to stop these annoying automated attacks on your ssh server, a quick fix is to run ssh on a different port.

  4. dude said,

    October 14, 2006 @ 6:22 am

    lol

    PuTTYPuTTYPuTTYPuTTYPuTTYfirebird seems to stand out

  5. JR said,

    October 14, 2006 @ 6:58 am

    You could also just change the SSH port in your /etc/ssh/sshd file to something a little more obscure.

  6. josje said,

    October 14, 2006 @ 7:12 am

    Easy answer: http://fail2ban.sourceforge.net/wiki/index.php/Main_Page

  7. rtyp3 said,

    October 14, 2006 @ 8:35 am

    heh i do the same as andy, good read tho. Also try and tweak sshd so it doesnt allow so many password tires.

  8. Ryan said,

    October 14, 2006 @ 9:07 am

    You can use iptables to automatically drop traffic from IPs that make say 4 ssh attempts in 1min for 5minutes. This will cause the kiddie’s script to abort.

  9. Christian said,

    October 14, 2006 @ 9:08 am

    Funny that “root” isn’t in the list. That’s the account I’d go for… :>

  10. aaron said,

    October 14, 2006 @ 9:36 am

    Neat article. Try DenyHosts, it basically does the same thing but automatically forwards all sshd hackers to your hosts.deny file. See http://denyhosts.sourceforge.net/

  11. Icheb said,

    October 14, 2006 @ 10:10 am

    You can find a script capable of adding iptables entries for found ssh attacks at http://blinkeye.ch/mediawiki/index.php/SSH_Blocking.

    I’ve used this on a few hosts, it’s relatively easy to install, although you sometimes have to change the detection a bit (find another word, ip address being just another word…). But it runs very well ;).

    Furthermore you can also change your SSH port if you hate receiving large logwatch e-mails, or you can deinstall logwatch…

  12. Lizer said,

    October 14, 2006 @ 11:10 am

    I wrote two scripts that do something similar some time ago:

    http://lizer.syslinx.org/temporary/failog
    http://lizer.syslinx.org/temporary/lognames

    Usage:
    zcat /var/log/authlog*gz | cat - /var/log/authlog | ./failog [date|host]
    Counts the failed logins grouped by date/attacker ip.

    zcat /var/log/authlog*gz | cat - /var/log/authlog | ./lognames
    Lists the login names and how often each has tried.

  13. converter said,

    October 14, 2006 @ 1:18 pm

    Five point penalty for unnecessary use of cat. :)

    zegrep refused auth.log*

    cat(1) is for concatenating text files:

    cat file1 file2 file3 > file4

    and etc.

    Most of the standard unix text processing utilities will open and read from one or more files passed on the command line (just like cat does), iterating over their lines as if they were a single file.

    What’s the point? Even though the time and energy I’ve just devoted to this post may suggest otherwise, I hate unnecessary typing, and one less cat process means slightly lower resource usage.

  14. harl said,

    October 14, 2006 @ 2:39 pm

    Have a look at denyhosts and forget about it: http://denyhosts.sourceforge.net/

    Works out-of-the-box for most distributions.

  15. James said,

    October 14, 2006 @ 5:26 pm

    Or, a better way is to to strict iptables firewall rules on rate limiting, and/or source/dest and if at all possible implement a port knocker.

    Example of iptables script that drops new connections after 7 attempts in 30 seconds(this is off memory, sorry if it doesn’t work…look @ manpage for more info):
    iptables -A INPUT -p tcp -m tcp –dport 22 -m state –state NEW -m recent –set –name DEFAULT –rsource
    iptables -A INPUT -p tcp -m tcp –dport 22 -m state –state NEW -m recent –update –seconds 30 –hitcount 7 –name DEFAULT –rsource -j DROP

    Some articles on port knocking:
    http://www.ducea.com/2006/07/05/how-to-safely-connect-from-anywhere-to-your-closed-linux-firewall/
    http://gentoo-wiki.com/HOWTO_autossh_and_knockd

  16. Loren said,

    October 14, 2006 @ 6:30 pm

    You could also shorten that ‘awk’ command to:
    awk ‘/failed/{print $9}’ /var/log/auth.log

  17. krkosska said,

    October 14, 2006 @ 9:36 pm

    I firewall port 22 and use a variant of popauth to open that port to specific users when they successfully check email. Of course, the server doesn’t have to accept mail for them…

  18. Techs Or More » HowTo: Find SSH Hackers’ IPs Fast said,

    November 6, 2007 @ 4:42 pm

    [...] read more | digg story [...]

RSS feed for comments on this post · TrackBack URI

Leave a Comment