Keydifferencebeingpentestersare, I wouldsay, 100% ofthetimeaskedtodothehacking.
Uh, there's maybe a corporationoranindividualoraninstitutionthataskspentesterstocomeinandtestthesecurityofthenetworkortestthekindofresilienceofthenetworktobeingpenetratedbyexternalforcesorAttackers.
Hackersareusuallynotaskedtoattackpeople.
I thinktheonlytimesthatwouldoccurisifsomeonethinksthatthey'resosecureandtheychallengepeopletohackthem.
Butthatisthekindofkeydifferencethere.
ButbothhavebeenknowntouseCallieLennox.
Theywillhavetokindofgothrough a coupleofterminologieshereinthatblackhat.
Whitehat, pentester, hackerum, andscriptkiddiearekindoffivekeywords I thinkweshouldcoverbecausewe'vekindofcovered a littlebitofpentesterandhacker.
There's BlackHatWhiteHouse, whichkindofcorrespondjustwhitehatsandblackhatsthatcorrespondwhere a whitehathackerissomeonewhotendsthioworkas a pentester.
Usuallywhenyousayhacker, that's that's thepersonwho's goingaroundsnoopingthrough a system, puttingvirusesonthings, doingallsortsofterriblestuff, maybeforgoodpurposesintheirminds.
Butitiscertainlyillegal, oritshouldbeveryillegal.
UnitedStateslawsonhackingareactually a littlequestionable, andwhetherornottheyactuallydowhattheysaytheydo.
I thinkyoucanlookattheSenateinterviewsofourCongressinterviewsZuckerbergand, uhAndwekindoftellyouwhatyouneedtoknowasfaraswhereourlawmakersareonhackinglegislationorjusttechnologicallegislation.
Someoneremoved?
Yeah, that's a goodwaytoputit.
Uh, yeah, it's Ah, it's a wildtime.
And I seeinthechatDavidisPresidentsaid I was a littlebitpopping.
WasthatMrRobotislurkingthesandwichesthat I sawthefirstepisode I saw.
I watchedthefirstepisodeofMrRobotbecausehealwaystalkedaboutit, and I wassupersitestoactuallyseethatverygoodshotprettyprominently, especiallytowardsthelaterseason.
Afterseasonone, wedon't use a ton, butseasontoseasonthree.
You'llseethethatConniepullituponmyscreen.
Butyeah, verycool.
NickCotuauras, Lennox, yourthing s o.
I mean, thosearen't necessarilymutuallyexclusive.
I doloveLennoxsystems.
I tendtobe a lotbetterwithNickSystemsthatwindows, forexample.
But I doalsocodequite a bit.
I mostlyinpythonandsupposeplus, but I'm prettyfamiliarwith, likeourifyoucount?
Thatisprogramming.
Uh, nothingagainstaren't sorrythat I reallylikebythat.
I'm not a hugefanofourMattlab, I guessifyoucountitonJavascriptandJakewearyandthingslikethat A lotofWebdevelopmentstuffaswell.
Howdoeshehave a seesfittosendwhattopicstocoveronstream.
Oh, yeah, youand I do.
A lotofthestreamswillget a lotofideasthatkindoftalkaboutit, but a lotofitiscatertowardstheendofthefolksexpertisewhohavethetimetocomeonstream.
Ifyouhavesuggestionsdifferent, letusknowyoushouldbewearing a blackhoney.
Actually, I should'vebroughtmy, like, hackerblackHoody.
Probablytrue U s.
Sowhatistheoverall, I guess, sortofflowofthestreamstate, like, howarewegonnademonstratepolitics?
Sooriginally, I wasgoingtowalkthroughsomeofthetoolsthatareincludedinCaliLennixbydefaultandkindofexplainwhattheydoandsoon.
Andwe'restillgonnadothat.
Butwe'regoingtocontextualizeit a littlebiton.
Sothewaythatwecouldkindofimaginethisscenarioissomewhatcommentsandactuallyrightnow, and I thinkit'llactuallygettingmorecommonaswegowhere I usedto.
We'regonnaprotecthisAllStar.
Am I?
Someofitwasactuallypersonal, True, butit's allscenarioatthispointwherewe'regoingtosaythatcoldand I workfor a companyon I am a networkadminorkindoflike a sysadmin.
I dostuffonthecomputers.
I toldmymanager, and I calledisnothappywithmyperformanceoneday.
ItmakesperfectsensefiresonOnce I'm fired.
I havemostcompanies, I think, trytoimplementthisinsuch a waythatthey, like, cleanoutyouraccessveryquickly.
Butthiscompanydoesn't reallydothat.
So I getaccesstothemachinesforaround a couplehoursbefore I fired.
Plus, I kindofknewthefiringwascoming, youknow, like I keepsleepingonmyshiftsandeatingbananas, whatever.
So I havekindofknownthateveryonedoesasonedoeswhenthere's thisadmitAndYates.
But I like, youknow, addedsomethingsmissconfiguredsomestuffthroughsomeserviceisaround, youknow, there's there's someotherthingsgoingonthere, and I amsuperfamiliarwithcatalytic.
But I thinkthatmypointonthestreams I'm gonnaverymuchemphasizethatit's importantforustounderstandhowthestonesworkandwhatthey'redoingandwhythey'reimportant.
Becauseas a pentesterandassomeonewholikeverymuchadvocatesforethicalhackingandwantspeopletobeawareofthesesortsofthings, I thinkthatit's reallyjusttwosidesofthesamecointounderstandhowsomeonecouldhackyouandtounderstandhowtodefendagainsttheattack.
I thinkit's a littlebitMaur, justlikedirectormodularityconcepts, but I generallyreally, like a boontobecauseitcomeswithsomanythingsthat I canthenplayaroundwith.
Themaincomplaintthat I wouldhaveisthat a lotofitsdefaultthingshavebecomeveryclunky.
Theonethat I particularlydislikehissystemresolved D, whichisthekindofdefaultDeanna's resolveronofintosystems.
I reallydislikeit.
I don't I justdon't likethewayit's setup.
I don't likethewaythatitmanages D.
N s.
I don't reallyunderstandexactlywhattheparadigmwasthattheyweretryingtofollowwhentheydidit.
But I'm surethatitmadesenseforthem.
I justdon't particularlyunderstandit, but I doreallylike I'vebeentoingeneral, and I reallyappreciatethecommunitythat's aroundit, and I wholeheartedlysupported.
So I actuallygenerallyuseEvangelineIX.
Um, but I hadused.
So I haveanotherlaptopthatwasgiventomewhen I fixedthatperson's laptoponthatlaptop.
Dualboots a bintodestroy, actuallyintrouble.
It's a toolofitsinabilityDestro, a WindowsdistributionandCalliedistribution.
So I havetostopthat.
Stopit.
Juststop.
Um, yeah, thatiskindofwhat I use.
I actuallyuse a Macfor, like, mostworkandthings I useLennoxstuffforwhen I'm being a littlebitmorewhitehatfactory.
But I reallylikemyMac.
Macisalso a uniquespacesystem, soitendsupbeingverysimilarin a lotofimportantways.
Um, yeah.
Solet's see.
Um, there's someotherstuffgoingoninthechat.
I see.
I think I jokefromBuck.
See, I justwanttosend a pingmessageandget a pong.
Answerisveryfunny.
You'rewrong.
Answermightcontain a remoteshell I TMPshellsorICMPreversals.
A.
Reallycool.
Wewon't bebuildingoneonthischat.
Therewillbeother.
RiverShell's alreadyhas a fuel, butwell, therewillbeotherthings.
Itis a particularshelter, thebornagainshell, andsothatshellworks.
I think, tomyknowledge, itworksalmostexactlythesameinMacandLennoxLennoxsistersMack.
Therearesomethingsunderlyingitthat, likechangeimplementationdetails, but I thinkotherwiseit's prettymuchtheexactsame.
I usedNationalboth.
I'vealsoheardpeoplereallylikeseashell.
I'vealmostbeenCannonconvincedtoswitchtotheshow, but I havenotyet.
There's anothershellcalledFishthat I reallylike, but I haven't hadthechanceto, like, sitdownandgetlikeacquaintedwithitssuperWell, itjustlooksreallyeloquentandbeautiful, so I mightswitchtoit.
Butforthemostpart, I likeBash.
I'm prettyfamiliarwiththeshow, but I likebasketmostatthemoment.
Savagebeenin a superlovethatname.
Theystartourtestallsorts.
Cool, Beautiful.
WhynotDeviandasksIgorVoltaic, right?
Solet's see, um, I'vebeentois a Debianbasedsystem.
It's verysomewhere.
It's moreliketheykindofworkfromeachother.
But I don't useDebbieandmyselfjustbecause I gotacquaintedwithhimintofirst.
I didn't get a lotofthesesystemsatsomepoint, they'reallkindofthesame.
Someoneclosetomeonceworkedfor a policedepartment, didn't evenhavetochecksecuritybriefings, didn't knowwhyplugging a randomUSBkeyonyourworkcomputerwasbad.
Yeah, it's actually a hugeproblem, Notevenjustinpoliceformistletoe.
Thatverymuchexemplifiestheproblem.
ButinGeneral s Oh, therewasthis, A grouphackfiveReallycoolwouldrecommendgoingabout a J.
Andredidthislittlekindofsocialexperimentat a localuniversitywheretheytook a bunchofusbeesandthroughthemaroundthecampsexcepttheirUSbeeswouldpingbacktothem.
Theyactuallycontainedbeaconsthatsaid, Hey, uh, I'vebeenpluggedinto a computerThatwasnotsandboxwasnotairgapped.
Thiokeepinmindandthere's a lotthatgoesintothat, Dominatessays.
Wewritesomepointersonhowtostart a trainedwhitehotacting.
No, justGoogle.
Itanswers.
I don't knowwhatexactlyyouwoulddowell, exceptforhowdo I getstartedandwhitehathacking.
But I thinkthatthewaythat I gotstartedinthewaythat I thinkworksreallywellfor a lotofpeoplethat, like, handsonlearningitistake a systemthatyoubuiltright.
Sonotonlydoyougainunderstandingofthatserver, thatdevice, whatever, butyougaveunderstandingofhowtheconfigurationworksbecause a lotofhackingstuffdeals a lotwith, likeengineeringpeopleandengineeringkindoftheconfigurationorbeingawareofhowthingsarecommonlyconfiguredandthentakingadvantageofthatconfiguration.
Theotherthingthatyoumightwanttodioifyou'reinterestedinit, is I mean, yes, takingcoursesinwhite, howhackingwillgiveyouexposure, whichisveryuseful.
Topicreallyislike, Howdo I knowwhat I don't know, Youknow, like, howdo I seethatspaceofthingsthat I justdon't understand?
And I thinkthatclassisreallyusefulwith, exceptforabout a structure.
Theyalsohave a bunchofpeoplewhohavethatknowledgegooglingparticularthings.
Like, Can I go?
Youknow, um, maybehowdo I hackintomyownWiFinetwork?
IsaReallyinterestingone.
So I willalwaysadvocateTestitonyourself, right?
Likeit's kindoflike, youknow, youjusthotwaterandyourselfbeforeyougiveittoMaybewhat I reallyliketodothat, becauseit's notillegalforyoutohackyourselffromwhat I knowwith, like, somekindofcaveatswhereit's likeifyouworkfor a corporationcounselwasthecorporationthatactcorporation.
SoEllenone's kindofhave a pointabout, likepluggingusbeesinto, um, thingsrandomly.
Therearekindoflike, saferwaystodoitwhere, like I couldmakesurethatthatUSBgetsonlypluggedintolike a sandboxvirtualmachine, forexample, that's notnecessarilysupersafe.
It's justlike, Oh, I I wasrecentlyontheCalleOlynyksitemakingsure I knew a littlebitaboutitshistoryandfindoutwhereitcamefrom.
Andalsojustcheckingifthey'd updatedtheirimages.
Theyhadtheyincluded a newthingcalledwireguard.
It's a VPNclientandfirewallaresorry.
ServerAndi, I waslike, Oh, that's superinteresting.
So I, youknow, commandstabsthatpushitoff, doingthetabdidn't openitfor, like, sevendays, buteventuallyitwenttoitanditwasreallycoolon, and I waslike, Oh, thisisawesome.
I actuallyendedupbuilding a wireguardVPNbecause I thoughtitwassocool.
I'm like, I don't care, Butthereare a lotofthingswaslike, Oh, I didn't evenknowthat I wouldhavecaredaboutthistimediscoveredlike D three, whichis a JavascriptlibraryforGod.
Anditdetectshyper 30 andthingslikeWhatifhediditonlike a like a Googlemultilikegiantdistributedsystem?
Expected?
Justthinks, ofcourse, a lotofpeopleaskingwhy?
Yourwiresee, Matrixisjustreadtoday.
I'm reallygladyouasked.
Thankyoufornoticingesonorainbowonthisonetodaybecause I feellikekindofredandbluearethetwothemecolorsofthehackingworldexceptforblackandwhite, blackandwhitebeingthedescriptorsforthepeopleredandbluebeingthedescriptorsforkindoflikewhatthey'redoing.
Andit's verymuchlikeHowam I goingtoadjustthingsbasedonwhatserviceisairrunning?
What's thestatusoftheserviceisHowdo I turnthingsonandoffitsmodel, theythink a littlebitclosertomaybenothaveoriginallybeenmodeledthisway, butitlooksasifit's a lotclosertolike a, um, morelike a desktopexperience.
If I gointotheimageofthistrial, whichiswhatthisis, I coulddolike a pseudoservicestatus, status, alltheloopsandseewhatserviceisairrunning.
Andthenthere's someotheronesworthpointingoutinsome, uh, RedSoxon, andthere's probablysomeonesthat I missed.
Butthere's a bunchofserviceisandtoolsbuiltintoCalliethatareveryusefulforustodothingswithonSo s O, forexample, andthatexistsonCalliebydefault.
SodoesMedusa, whichisalsoveryuseful.
MSFconsoleormedicine, Voight's frameworkcounsel.
Forthoseofyouwhoaren't fromthere, we'regonnaspend a decentamountoftimeinthattodaybecauseit's superuseful.
Itisprobablythemostaccusedofbeing a scriptkiddiesfavoritetoy, butithasallsortsofreasonsforbeing a scriptkiddiesfavoritetoy, becauseitmakes a lotofthingsthatnonscript, kiddies.
D'oh!
Veryconvenient.
Itbuildthemin.
Soifyou'realreadyawareofhowtobuildthosethings, youwannabuildthemoverandoveragainyourself, Andyou'relike, Oh, ifonlytherewas a toolthatwoulddothisThattendstobethekindof, like, gototool.
Itdoeshave a prettywindowsheavyfocus.
Butinrecentyears, inpartofthepasttwoyears, I'veseen a lotofpackagesaddedtoitthatsupportLennoxbasedattacksandexploits, andthat's reallycool.
SoWell, maybemaybenotcoolforpeoplewhoweregettinghackedwithit, butitisverycoolinconcept, andithelpsmakepentesters a littlebitmorewellrounded.
So I reallylikethatondsothosethreetools.
We'regonnatalkabout a decenttoday.
Medusais a reallyusefultoolforcrackingpasswords, bruteforcestyleonDDE.
Whatitdoesisitbasicallyjustsays, Hey, giveme a serviceandtellme a passwordlistand a userlist, and I'lljustgotriumph, andthere's allsortsofparametersforit.
You'llseeitinactionin a littlebit, andit's a reallyusefultool.
So I thinkoneofthegreatthingsaboutCallieismaybe I am a pentesterwhoisworkingonthefly.
Youknow, I don't necessarilyhave a wholelotoftimetosetup.
It's like, Howdo I goasquicklyaspossibletoattackthecompanythat I'm in?
Andsowhat I mightbeabletodiois I justhave a bootableversionofCalion a USB.
I pullyouinto a machinebootedintoCallie, andthatmachineisalreadyconnectedtothenetworkhasallthetools I couldpossiblywant, and I justgo.
It's veryfast, right?
Soitisprettyusefulformetobeabletodosomethinglikethat s soyeahasbeingpointedoutinthechatandmapis a networkmapper.
I useitbydefault.
Thereareotheronesnecessaryandthingslikethat.
But I'm goingtosticktoandMattbecause I thinkit's a verysimpleone, I thinkisreallyuseful.
Medusais a passwordcracker.
Therearemanyothers, andalsomostoftheseothertoolsthat I when I saymanyothersarealsoonCallie s soyoucouldgoandlike, findJohntheRipperisalso I don't knowtheactualuh, Let's gotellyouwhatthereis a JohntheRipperversion.
That's a zombieanduseittopayingotherthingssothattheycan't necessarilytracebackWhoisdoingthesingingtomeasthelikedeadlyhosts.
Youimmediatelyknowthatthatserverhas a databaseonit.
Yes, yes, I canseethatyouhavemysequelopenandasyourexnetworkadmin.
I washoping, youknow, I wasreallyexcitedthatyoukeptitopenbecause, youknow, youusedtohavemegoonvacationand I hadtostilladministerthedatabase.
So I leftmyself a remoteuserwhichend?
Maybemyconvictwas a littleoff.
I didn't restrictitto a specific I p.
What I shouldhave, maybedoneishowto v p m that I couldaccessandthenbeaccesstheserverfromthatVPN.
But I waslike, Well, youknow, wedon't useitthatoften, soit's notworthsettingallthatup, So I justleftitopen.
Temper.
That's okay.
AndsosomeonesaysbruteforcesequelXsarecrossingscriptingattacksareuselessnowadays, theseair, socommonactuallywholeheartedlydisagreewiththatinprettymucheverywayinthat I exceptforthefactthatthey'resocommon.
Thatpart, I doagreewith, theyareextremelycommon.
And I thinktheintuitionsaysthat, Oh, everyone's heardofthese.
Sonowthat I'vegotthoseandyourbankaccount, I canvalidatemyself.
Isyouanywhere?
Becausepeopleoftenassumebanksaresafe.
ButSantanderhad a securityvulnerabilitywhereitwouldredirectyoutoitshttpsiteinsteadofAsianGPS, whichmeansthatif I'm maninthemiddlingsomethingon, youknow, uh, StarbucksWiFion I'vejustredirectedyouallthroughmyrouter.
ThatthenredirectsyourownStarbucksWiFi.
Hey, I seeyousentoutofsight.
I haveyourbankaccountlogininformationnow.
Yourbankdidn't protectyou.
Sothereareallthesethingsandimplicittrustthatpeopleputinthethingstheyuseserviceistheyuseandthatdangeroussomethingthat I saw a littlewhileagowhere I wasaskedtodothisbythepeoplewhodidit.
Itwaslikeitwasaboveboard, but I wasabletouse a sequelinjectiontogetaccesstosomeone's databaseon a certainforumonline.