rules.json 195 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588
  1. {
  2. "version": "2.2",
  3. "metadata": {
  4. "rules_version": "1.4.3"
  5. },
  6. "rules": [
  7. {
  8. "id": "blk-001-001",
  9. "name": "Block IP Addresses",
  10. "tags": {
  11. "type": "block_ip",
  12. "category": "security_response"
  13. },
  14. "conditions": [
  15. {
  16. "parameters": {
  17. "inputs": [
  18. {
  19. "address": "http.client_ip"
  20. }
  21. ],
  22. "data": "blocked_ips"
  23. },
  24. "operator": "ip_match"
  25. }
  26. ],
  27. "transformers": [],
  28. "on_match": [
  29. "block"
  30. ]
  31. },
  32. {
  33. "id": "crs-913-110",
  34. "name": "Acunetix",
  35. "tags": {
  36. "type": "security_scanner",
  37. "crs_id": "913110",
  38. "category": "attack_attempt"
  39. },
  40. "conditions": [
  41. {
  42. "parameters": {
  43. "inputs": [
  44. {
  45. "address": "server.request.headers.no_cookies"
  46. }
  47. ],
  48. "list": [
  49. "acunetix-product",
  50. "(acunetix web vulnerability scanner",
  51. "acunetix-scanning-agreement",
  52. "acunetix-user-agreement",
  53. "md5(acunetix_wvs_security_test)"
  54. ]
  55. },
  56. "operator": "phrase_match"
  57. }
  58. ],
  59. "transformers": [
  60. "lowercase"
  61. ]
  62. },
  63. {
  64. "id": "crs-913-120",
  65. "name": "Known security scanner filename/argument",
  66. "tags": {
  67. "type": "security_scanner",
  68. "crs_id": "913120",
  69. "category": "attack_attempt"
  70. },
  71. "conditions": [
  72. {
  73. "parameters": {
  74. "inputs": [
  75. {
  76. "address": "server.request.query"
  77. },
  78. {
  79. "address": "server.request.body"
  80. },
  81. {
  82. "address": "server.request.path_params"
  83. }
  84. ],
  85. "list": [
  86. "/.adsensepostnottherenonobook",
  87. "/<invalid>hello.html",
  88. "/actsensepostnottherenonotive",
  89. "/acunetix-wvs-test-for-some-inexistent-file",
  90. "/antidisestablishmentarianism",
  91. "/appscan_fingerprint/mac_address",
  92. "/arachni-",
  93. "/cybercop",
  94. "/nessus_is_probing_you_",
  95. "/nessustest",
  96. "/netsparker-",
  97. "/rfiinc.txt",
  98. "/thereisnowaythat-you-canbethere",
  99. "/w3af/remotefileinclude.html",
  100. "appscan_fingerprint",
  101. "w00tw00t.at.isc.sans.dfind",
  102. "w00tw00t.at.blackhats.romanian.anti-sec"
  103. ]
  104. },
  105. "operator": "phrase_match"
  106. }
  107. ],
  108. "transformers": [
  109. "lowercase"
  110. ]
  111. },
  112. {
  113. "id": "crs-920-260",
  114. "name": "Unicode Full/Half Width Abuse Attack Attempt",
  115. "tags": {
  116. "type": "http_protocol_violation",
  117. "crs_id": "920260",
  118. "category": "attack_attempt"
  119. },
  120. "conditions": [
  121. {
  122. "parameters": {
  123. "inputs": [
  124. {
  125. "address": "server.request.uri.raw"
  126. }
  127. ],
  128. "regex": "\\%u[fF]{2}[0-9a-fA-F]{2}",
  129. "options": {
  130. "case_sensitive": true,
  131. "min_length": 6
  132. }
  133. },
  134. "operator": "match_regex"
  135. }
  136. ],
  137. "transformers": []
  138. },
  139. {
  140. "id": "crs-921-110",
  141. "name": "HTTP Request Smuggling Attack",
  142. "tags": {
  143. "type": "http_protocol_violation",
  144. "crs_id": "921110",
  145. "category": "attack_attempt"
  146. },
  147. "conditions": [
  148. {
  149. "parameters": {
  150. "inputs": [
  151. {
  152. "address": "server.request.query"
  153. },
  154. {
  155. "address": "server.request.body"
  156. },
  157. {
  158. "address": "server.request.path_params"
  159. }
  160. ],
  161. "regex": "(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\\s+[^\\s]+\\s+http/\\d",
  162. "options": {
  163. "case_sensitive": true,
  164. "min_length": 12
  165. }
  166. },
  167. "operator": "match_regex"
  168. }
  169. ],
  170. "transformers": [
  171. "lowercase"
  172. ]
  173. },
  174. {
  175. "id": "crs-921-140",
  176. "name": "HTTP Header Injection Attack via headers",
  177. "tags": {
  178. "type": "http_protocol_violation",
  179. "crs_id": "921140",
  180. "category": "attack_attempt"
  181. },
  182. "conditions": [
  183. {
  184. "parameters": {
  185. "inputs": [
  186. {
  187. "address": "server.request.headers.no_cookies"
  188. }
  189. ],
  190. "regex": "[\\n\\r]",
  191. "options": {
  192. "case_sensitive": true,
  193. "min_length": 1
  194. }
  195. },
  196. "operator": "match_regex"
  197. }
  198. ],
  199. "transformers": []
  200. },
  201. {
  202. "id": "crs-921-160",
  203. "name": "HTTP Header Injection Attack via payload (CR/LF and header-name detected)",
  204. "tags": {
  205. "type": "http_protocol_violation",
  206. "crs_id": "921160",
  207. "category": "attack_attempt"
  208. },
  209. "conditions": [
  210. {
  211. "parameters": {
  212. "inputs": [
  213. {
  214. "address": "server.request.query"
  215. },
  216. {
  217. "address": "server.request.path_params"
  218. }
  219. ],
  220. "regex": "[\\n\\r]+(?:\\s|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\\s*:",
  221. "options": {
  222. "case_sensitive": true,
  223. "min_length": 3
  224. }
  225. },
  226. "operator": "match_regex"
  227. }
  228. ],
  229. "transformers": [
  230. "lowercase"
  231. ]
  232. },
  233. {
  234. "id": "crs-930-100",
  235. "name": "Obfuscated Path Traversal Attack (/../)",
  236. "tags": {
  237. "type": "lfi",
  238. "crs_id": "930100",
  239. "category": "attack_attempt"
  240. },
  241. "conditions": [
  242. {
  243. "parameters": {
  244. "inputs": [
  245. {
  246. "address": "server.request.uri.raw"
  247. },
  248. {
  249. "address": "server.request.headers.no_cookies"
  250. }
  251. ],
  252. "regex": "(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5c)|0x(?:2f|5c)|\\/|\\x5c)(?:%(?:(?:f(?:(?:c%80|8)%8)?0%8|e)0%80%ae|2(?:(?:5(?:c0%25a|2))?e|%45)|u(?:(?:002|ff0)e|2024)|%32(?:%(?:%6|4)5|E)|c0(?:%[256aef]e|\\.))|\\.(?:%0[01]|\\?)?|\\?\\.?|0x2e){2,3}(?:%(?:c(?:0%(?:[2aq]f|5c|9v)|1%(?:[19p]c|8s|af))|2(?:5(?:c(?:0%25af|1%259c)|2f|5c)|%46|f)|(?:(?:f(?:8%8)?0%8|e)0%80%a|bg%q)f|%3(?:2(?:%(?:%6|4)6|F)|5%%63)|u(?:221[56]|002f|EFC8|F025)|1u|5c)|0x(?:2f|5c)|\\/|\\x5c)",
  253. "options": {
  254. "min_length": 4
  255. }
  256. },
  257. "operator": "match_regex"
  258. }
  259. ],
  260. "transformers": [
  261. "normalizePath"
  262. ]
  263. },
  264. {
  265. "id": "crs-930-110",
  266. "name": "Simple Path Traversal Attack (/../)",
  267. "tags": {
  268. "type": "lfi",
  269. "crs_id": "930110",
  270. "category": "attack_attempt"
  271. },
  272. "conditions": [
  273. {
  274. "parameters": {
  275. "inputs": [
  276. {
  277. "address": "server.request.uri.raw"
  278. },
  279. {
  280. "address": "server.request.headers.no_cookies"
  281. }
  282. ],
  283. "regex": "(?:(?:^|[\\x5c/])\\.{2,3}[\\x5c/]|[\\x5c/]\\.{2,3}(?:[\\x5c/]|$))",
  284. "options": {
  285. "case_sensitive": true,
  286. "min_length": 3
  287. }
  288. },
  289. "operator": "match_regex"
  290. }
  291. ],
  292. "transformers": [
  293. "removeNulls"
  294. ]
  295. },
  296. {
  297. "id": "crs-930-120",
  298. "name": "OS File Access Attempt",
  299. "tags": {
  300. "type": "lfi",
  301. "crs_id": "930120",
  302. "category": "attack_attempt"
  303. },
  304. "conditions": [
  305. {
  306. "parameters": {
  307. "inputs": [
  308. {
  309. "address": "server.request.query"
  310. },
  311. {
  312. "address": "server.request.body"
  313. },
  314. {
  315. "address": "server.request.path_params"
  316. },
  317. {
  318. "address": "grpc.server.request.message"
  319. }
  320. ],
  321. "list": [
  322. "/.htaccess",
  323. "/.htdigest",
  324. "/.htpasswd",
  325. "/.addressbook",
  326. "/.aptitude/config",
  327. ".aws/config",
  328. ".aws/credentials",
  329. "/.bash_config",
  330. "/.bash_history",
  331. "/.bash_logout",
  332. "/.bash_profile",
  333. "/.bashrc",
  334. ".cache/notify-osd.log",
  335. ".config/odesk/odesk team.conf",
  336. "/.cshrc",
  337. "/.dockerignore",
  338. ".drush/",
  339. "/.eslintignore",
  340. "/.fbcindex",
  341. "/.forward",
  342. "/.git",
  343. ".git/",
  344. "/.gitattributes",
  345. "/.gitconfig",
  346. ".gnupg/",
  347. ".hplip/hplip.conf",
  348. "/.ksh_history",
  349. "/.lesshst",
  350. ".lftp/",
  351. "/.lhistory",
  352. "/.lldb-history",
  353. ".local/share/mc/",
  354. "/.lynx_cookies",
  355. "/.my.cnf",
  356. "/.mysql_history",
  357. "/.nano_history",
  358. "/.node_repl_history",
  359. "/.pearrc",
  360. "/.pgpass",
  361. "/.php_history",
  362. "/.pinerc",
  363. ".pki/",
  364. "/.proclog",
  365. "/.procmailrc",
  366. "/.psql_history",
  367. "/.python_history",
  368. "/.rediscli_history",
  369. "/.rhistory",
  370. "/.rhosts",
  371. "/.sh_history",
  372. "/.sqlite_history",
  373. ".ssh/authorized_keys",
  374. ".ssh/config",
  375. ".ssh/id_dsa",
  376. ".ssh/id_dsa.pub",
  377. ".ssh/id_rsa",
  378. ".ssh/id_rsa.pub",
  379. ".ssh/identity",
  380. ".ssh/identity.pub",
  381. ".ssh/id_ecdsa",
  382. ".ssh/id_ecdsa.pub",
  383. ".ssh/known_hosts",
  384. ".subversion/auth",
  385. ".subversion/config",
  386. ".subversion/servers",
  387. ".tconn/tconn.conf",
  388. "/.tcshrc",
  389. ".vidalia/vidalia.conf",
  390. "/.viminfo",
  391. "/.vimrc",
  392. "/.www_acl",
  393. "/.wwwacl",
  394. "/.xauthority",
  395. "/.zhistory",
  396. "/.zshrc",
  397. "/.zsh_history",
  398. "/.nsconfig",
  399. "data/elasticsearch",
  400. "data/kafka",
  401. "etc/ansible",
  402. "etc/bind",
  403. "etc/centos-release",
  404. "etc/centos-release-upstream",
  405. "etc/clam.d",
  406. "etc/elasticsearch",
  407. "etc/freshclam.conf",
  408. "etc/gshadow",
  409. "etc/gshadow-",
  410. "etc/httpd",
  411. "etc/kafka",
  412. "etc/kibana",
  413. "etc/logstash",
  414. "etc/lvm",
  415. "etc/mongod.conf",
  416. "etc/my.cnf",
  417. "etc/nuxeo.conf",
  418. "etc/pki",
  419. "etc/postfix",
  420. "etc/scw-release",
  421. "etc/subgid",
  422. "etc/subgid-",
  423. "etc/sudoers.d",
  424. "etc/sysconfig",
  425. "etc/system-release-cpe",
  426. "opt/nuxeo",
  427. "opt/tomcat",
  428. "tmp/kafka-logs",
  429. "usr/lib/rpm/rpm.log",
  430. "var/data/elasticsearch",
  431. "var/lib/elasticsearch",
  432. "etc/.java",
  433. "etc/acpi",
  434. "etc/alsa",
  435. "etc/alternatives",
  436. "etc/apache2",
  437. "etc/apm",
  438. "etc/apparmor",
  439. "etc/apparmor.d",
  440. "etc/apport",
  441. "etc/apt",
  442. "etc/asciidoc",
  443. "etc/avahi",
  444. "etc/bash_completion.d",
  445. "etc/binfmt.d",
  446. "etc/bluetooth",
  447. "etc/bonobo-activation",
  448. "etc/brltty",
  449. "etc/ca-certificates",
  450. "etc/calendar",
  451. "etc/chatscripts",
  452. "etc/chromium-browser",
  453. "etc/clamav",
  454. "etc/cni",
  455. "etc/console-setup",
  456. "etc/coraza-waf",
  457. "etc/cracklib",
  458. "etc/cron.d",
  459. "etc/cron.daily",
  460. "etc/cron.hourly",
  461. "etc/cron.monthly",
  462. "etc/cron.weekly",
  463. "etc/cups",
  464. "etc/cups.save",
  465. "etc/cupshelpers",
  466. "etc/dbus-1",
  467. "etc/dconf",
  468. "etc/default",
  469. "etc/depmod.d",
  470. "etc/dhcp",
  471. "etc/dictionaries-common",
  472. "etc/dkms",
  473. "etc/dnsmasq.d",
  474. "etc/dockeretc/dpkg",
  475. "etc/emacs",
  476. "etc/environment.d",
  477. "etc/fail2ban",
  478. "etc/firebird",
  479. "etc/firefox",
  480. "etc/fonts",
  481. "etc/fwupd",
  482. "etc/gconf",
  483. "etc/gdb",
  484. "etc/gdm3",
  485. "etc/geoclue",
  486. "etc/ghostscript",
  487. "etc/gimp",
  488. "etc/glvnd",
  489. "etc/gnome",
  490. "etc/gnome-vfs-2.0",
  491. "etc/gnucash",
  492. "etc/gnustep",
  493. "etc/groff",
  494. "etc/grub.d",
  495. "etc/gss",
  496. "etc/gtk-2.0",
  497. "etc/gtk-3.0",
  498. "etc/hp",
  499. "etc/ifplugd",
  500. "etc/imagemagick-6",
  501. "etc/init",
  502. "etc/init.d",
  503. "etc/initramfs-tools",
  504. "etc/insserv.conf.d",
  505. "etc/iproute2",
  506. "etc/iptables",
  507. "etc/java",
  508. "etc/java-11-openjdk",
  509. "etc/java-17-oracle",
  510. "etc/java-8-openjdk",
  511. "etc/kernel",
  512. "etc/ld.so.conf.d",
  513. "etc/ldap",
  514. "etc/libblockdev",
  515. "etc/libibverbs.d",
  516. "etc/libnl-3",
  517. "etc/libpaper.d",
  518. "etc/libreoffice",
  519. "etc/lighttpd",
  520. "etc/logcheck",
  521. "etc/logrotate.d",
  522. "etc/lynx",
  523. "etc/mail",
  524. "etc/mc",
  525. "etc/menu",
  526. "etc/menu-methods",
  527. "etc/modprobe.d",
  528. "etc/modsecurity",
  529. "etc/modules-load.d",
  530. "etc/monit",
  531. "etc/mono",
  532. "etc/mplayer",
  533. "etc/mpv",
  534. "etc/muttrc.d",
  535. "etc/mysql",
  536. "etc/netplan",
  537. "etc/network",
  538. "etc/networkd-dispatcher",
  539. "etc/networkmanager",
  540. "etc/newt",
  541. "etc/nghttpx",
  542. "etc/nikto",
  543. "etc/odbcdatasources",
  544. "etc/openal",
  545. "etc/openmpi",
  546. "etc/opt",
  547. "etc/osync",
  548. "etc/packagekit",
  549. "etc/pam.d",
  550. "etc/pcmcia",
  551. "etc/perl",
  552. "etc/php",
  553. "etc/pki",
  554. "etc/pm",
  555. "etc/polkit-1",
  556. "etc/postfix",
  557. "etc/ppp",
  558. "etc/profile.d",
  559. "etc/proftpd",
  560. "etc/pulse",
  561. "etc/python",
  562. "etc/rc0.d",
  563. "etc/rc1.d",
  564. "etc/rc2.d",
  565. "etc/rc3.d",
  566. "etc/rc4.d",
  567. "etc/rc5.d",
  568. "etc/rc6.d",
  569. "etc/rcs.d",
  570. "etc/resolvconf",
  571. "etc/rsyslog.d",
  572. "etc/samba",
  573. "etc/sane.d",
  574. "etc/security",
  575. "etc/selinux",
  576. "etc/sensors.d",
  577. "etc/sgml",
  578. "etc/signon-ui",
  579. "etc/skel",
  580. "etc/snmp",
  581. "etc/sound",
  582. "etc/spamassassin",
  583. "etc/speech-dispatcher",
  584. "etc/ssh",
  585. "etc/ssl",
  586. "etc/sudoers.d",
  587. "etc/sysctl.d",
  588. "etc/sysstat",
  589. "etc/systemd",
  590. "etc/terminfo",
  591. "etc/texmf",
  592. "etc/thermald",
  593. "etc/thnuclnt",
  594. "etc/thunderbird",
  595. "etc/timidity",
  596. "etc/tmpfiles.d",
  597. "etc/ubuntu-advantage",
  598. "etc/udev",
  599. "etc/udisks2",
  600. "etc/ufw",
  601. "etc/update-manager",
  602. "etc/update-motd.d",
  603. "etc/update-notifier",
  604. "etc/upower",
  605. "etc/urlview",
  606. "etc/usb_modeswitch.d",
  607. "etc/vim",
  608. "etc/vmware",
  609. "etc/vmware-installer",
  610. "etc/vmware-vix",
  611. "etc/vulkan",
  612. "etc/w3m",
  613. "etc/wireshark",
  614. "etc/wpa_supplicant",
  615. "etc/x11",
  616. "etc/xdg",
  617. "etc/xml",
  618. "etc/redis.conf",
  619. "etc/redis-sentinel.conf",
  620. "etc/php.ini",
  621. "bin/php.ini",
  622. "etc/httpd/php.ini",
  623. "usr/lib/php.ini",
  624. "usr/lib/php/php.ini",
  625. "usr/local/etc/php.ini",
  626. "usr/local/lib/php.ini",
  627. "usr/local/php/lib/php.ini",
  628. "usr/local/php4/lib/php.ini",
  629. "usr/local/php5/lib/php.ini",
  630. "usr/local/apache/conf/php.ini",
  631. "etc/php4.4/fcgi/php.ini",
  632. "etc/php4/apache/php.ini",
  633. "etc/php4/apache2/php.ini",
  634. "etc/php5/apache/php.ini",
  635. "etc/php5/apache2/php.ini",
  636. "etc/php/php.ini",
  637. "etc/php/php4/php.ini",
  638. "etc/php/apache/php.ini",
  639. "etc/php/apache2/php.ini",
  640. "web/conf/php.ini",
  641. "usr/local/zend/etc/php.ini",
  642. "opt/xampp/etc/php.ini",
  643. "var/local/www/conf/php.ini",
  644. "etc/php/cgi/php.ini",
  645. "etc/php4/cgi/php.ini",
  646. "etc/php5/cgi/php.ini",
  647. "home2/bin/stable/apache/php.ini",
  648. "home/bin/stable/apache/php.ini",
  649. "etc/httpd/conf.d/php.conf",
  650. "php5/php.ini",
  651. "php4/php.ini",
  652. "php/php.ini",
  653. "windows/php.ini",
  654. "winnt/php.ini",
  655. "apache/php/php.ini",
  656. "xampp/apache/bin/php.ini",
  657. "netserver/bin/stable/apache/php.ini",
  658. "volumes/macintosh_hd1/usr/local/php/lib/php.ini",
  659. "etc/mono/1.0/machine.config",
  660. "etc/mono/2.0/machine.config",
  661. "etc/mono/2.0/web.config",
  662. "etc/mono/config",
  663. "usr/local/cpanel/logs/stats_log",
  664. "usr/local/cpanel/logs/access_log",
  665. "usr/local/cpanel/logs/error_log",
  666. "usr/local/cpanel/logs/license_log",
  667. "usr/local/cpanel/logs/login_log",
  668. "var/cpanel/cpanel.config",
  669. "usr/local/psa/admin/logs/httpsd_access_log",
  670. "usr/local/psa/admin/logs/panel.log",
  671. "usr/local/psa/admin/conf/php.ini",
  672. "etc/sw-cp-server/applications.d/plesk.conf",
  673. "usr/local/psa/admin/conf/site_isolation_settings.ini",
  674. "usr/local/sb/config",
  675. "etc/sw-cp-server/applications.d/00-sso-cpserver.conf",
  676. "etc/sso/sso_config.ini",
  677. "etc/mysql/conf.d/old_passwords.cnf",
  678. "var/mysql.log",
  679. "var/mysql-bin.index",
  680. "var/data/mysql-bin.index",
  681. "program files/mysql/mysql server 5.0/data/{host}.err",
  682. "program files/mysql/mysql server 5.0/data/mysql.log",
  683. "program files/mysql/mysql server 5.0/data/mysql.err",
  684. "program files/mysql/mysql server 5.0/data/mysql-bin.log",
  685. "program files/mysql/mysql server 5.0/data/mysql-bin.index",
  686. "program files/mysql/data/{host}.err",
  687. "program files/mysql/data/mysql.log",
  688. "program files/mysql/data/mysql.err",
  689. "program files/mysql/data/mysql-bin.log",
  690. "program files/mysql/data/mysql-bin.index",
  691. "mysql/data/{host}.err",
  692. "mysql/data/mysql.log",
  693. "mysql/data/mysql.err",
  694. "mysql/data/mysql-bin.log",
  695. "mysql/data/mysql-bin.index",
  696. "usr/local/mysql/data/mysql.log",
  697. "usr/local/mysql/data/mysql.err",
  698. "usr/local/mysql/data/mysql-bin.log",
  699. "usr/local/mysql/data/mysql-slow.log",
  700. "usr/local/mysql/data/mysqlderror.log",
  701. "usr/local/mysql/data/{host}.err",
  702. "usr/local/mysql/data/mysql-bin.index",
  703. "var/lib/mysql/my.cnf",
  704. "etc/mysql/my.cnf",
  705. "etc/my.cnf",
  706. "program files/mysql/mysql server 5.0/my.ini",
  707. "program files/mysql/mysql server 5.0/my.cnf",
  708. "program files/mysql/my.ini",
  709. "program files/mysql/my.cnf",
  710. "mysql/my.ini",
  711. "mysql/my.cnf",
  712. "mysql/bin/my.ini",
  713. "var/postgresql/log/postgresql.log",
  714. "usr/internet/pgsql/data/postmaster.log",
  715. "usr/local/pgsql/data/postgresql.log",
  716. "usr/local/pgsql/data/pg_log",
  717. "postgresql/log/pgadmin.log",
  718. "var/lib/pgsql/data/postgresql.conf",
  719. "var/postgresql/db/postgresql.conf",
  720. "var/nm2/postgresql.conf",
  721. "usr/local/pgsql/data/postgresql.conf",
  722. "usr/local/pgsql/data/pg_hba.conf",
  723. "usr/internet/pgsql/data/pg_hba.conf",
  724. "usr/local/pgsql/data/passwd",
  725. "usr/local/pgsql/bin/pg_passwd",
  726. "etc/postgresql/postgresql.conf",
  727. "etc/postgresql/pg_hba.conf",
  728. "home/postgres/data/postgresql.conf",
  729. "home/postgres/data/pg_version",
  730. "home/postgres/data/pg_ident.conf",
  731. "home/postgres/data/pg_hba.conf",
  732. "program files/postgresql/8.3/data/pg_hba.conf",
  733. "program files/postgresql/8.3/data/pg_ident.conf",
  734. "program files/postgresql/8.3/data/postgresql.conf",
  735. "program files/postgresql/8.4/data/pg_hba.conf",
  736. "program files/postgresql/8.4/data/pg_ident.conf",
  737. "program files/postgresql/8.4/data/postgresql.conf",
  738. "program files/postgresql/9.0/data/pg_hba.conf",
  739. "program files/postgresql/9.0/data/pg_ident.conf",
  740. "program files/postgresql/9.0/data/postgresql.conf",
  741. "program files/postgresql/9.1/data/pg_hba.conf",
  742. "program files/postgresql/9.1/data/pg_ident.conf",
  743. "program files/postgresql/9.1/data/postgresql.conf",
  744. "wamp/logs/access.log",
  745. "wamp/logs/apache_error.log",
  746. "wamp/logs/genquery.log",
  747. "wamp/logs/mysql.log",
  748. "wamp/logs/slowquery.log",
  749. "wamp/bin/apache/apache2.2.22/logs/access.log",
  750. "wamp/bin/apache/apache2.2.22/logs/error.log",
  751. "wamp/bin/apache/apache2.2.21/logs/access.log",
  752. "wamp/bin/apache/apache2.2.21/logs/error.log",
  753. "wamp/bin/mysql/mysql5.5.24/data/mysql-bin.index",
  754. "wamp/bin/mysql/mysql5.5.16/data/mysql-bin.index",
  755. "wamp/bin/apache/apache2.2.21/conf/httpd.conf",
  756. "wamp/bin/apache/apache2.2.22/conf/httpd.conf",
  757. "wamp/bin/apache/apache2.2.21/wampserver.conf",
  758. "wamp/bin/apache/apache2.2.22/wampserver.conf",
  759. "wamp/bin/apache/apache2.2.22/conf/wampserver.conf",
  760. "wamp/bin/mysql/mysql5.5.24/my.ini",
  761. "wamp/bin/mysql/mysql5.5.24/wampserver.conf",
  762. "wamp/bin/mysql/mysql5.5.16/my.ini",
  763. "wamp/bin/mysql/mysql5.5.16/wampserver.conf",
  764. "wamp/bin/php/php5.3.8/php.ini",
  765. "wamp/bin/php/php5.4.3/php.ini",
  766. "xampp/apache/logs/access.log",
  767. "xampp/apache/logs/error.log",
  768. "xampp/mysql/data/mysql-bin.index",
  769. "xampp/mysql/data/mysql.err",
  770. "xampp/mysql/data/{host}.err",
  771. "xampp/sendmail/sendmail.log",
  772. "xampp/apache/conf/httpd.conf",
  773. "xampp/filezillaftp/filezilla server.xml",
  774. "xampp/mercurymail/mercury.ini",
  775. "xampp/php/php.ini",
  776. "xampp/phpmyadmin/config.inc.php",
  777. "xampp/sendmail/sendmail.ini",
  778. "xampp/webalizer/webalizer.conf",
  779. "opt/lampp/etc/httpd.conf",
  780. "xampp/htdocs/aca.txt",
  781. "xampp/htdocs/admin.php",
  782. "xampp/htdocs/leer.txt",
  783. "usr/local/apache/logs/audit_log",
  784. "usr/local/apache2/logs/audit_log",
  785. "logs/security_debug_log",
  786. "logs/security_log",
  787. "usr/local/apache/conf/modsec.conf",
  788. "usr/local/apache2/conf/modsec.conf",
  789. "winnt/system32/logfiles/msftpsvc",
  790. "winnt/system32/logfiles/msftpsvc1",
  791. "winnt/system32/logfiles/msftpsvc2",
  792. "windows/system32/logfiles/msftpsvc",
  793. "windows/system32/logfiles/msftpsvc1",
  794. "windows/system32/logfiles/msftpsvc2",
  795. "etc/logrotate.d/proftpd",
  796. "www/logs/proftpd.system.log",
  797. "etc/pam.d/proftpd",
  798. "etc/proftp.conf",
  799. "etc/protpd/proftpd.conf",
  800. "etc/vhcs2/proftpd/proftpd.conf",
  801. "etc/proftpd/modules.conf",
  802. "etc/vsftpd.chroot_list",
  803. "etc/logrotate.d/vsftpd.log",
  804. "etc/vsftpd/vsftpd.conf",
  805. "etc/vsftpd.conf",
  806. "etc/chrootusers",
  807. "var/adm/log/xferlog",
  808. "etc/wu-ftpd/ftpaccess",
  809. "etc/wu-ftpd/ftphosts",
  810. "etc/wu-ftpd/ftpusers",
  811. "logs/pure-ftpd.log",
  812. "usr/sbin/pure-config.pl",
  813. "usr/etc/pure-ftpd.conf",
  814. "etc/pure-ftpd/pure-ftpd.conf",
  815. "usr/local/etc/pure-ftpd.conf",
  816. "usr/local/etc/pureftpd.pdb",
  817. "usr/local/pureftpd/etc/pureftpd.pdb",
  818. "usr/local/pureftpd/sbin/pure-config.pl",
  819. "usr/local/pureftpd/etc/pure-ftpd.conf",
  820. "etc/pure-ftpd.conf",
  821. "etc/pure-ftpd/pure-ftpd.pdb",
  822. "etc/pureftpd.pdb",
  823. "etc/pureftpd.passwd",
  824. "etc/pure-ftpd/pureftpd.pdb",
  825. "usr/ports/ftp/pure-ftpd/pure-ftpd.conf",
  826. "usr/ports/ftp/pure-ftpd/pureftpd.pdb",
  827. "usr/ports/ftp/pure-ftpd/pureftpd.passwd",
  828. "usr/ports/net/pure-ftpd/pure-ftpd.conf",
  829. "usr/ports/net/pure-ftpd/pureftpd.pdb",
  830. "usr/ports/net/pure-ftpd/pureftpd.passwd",
  831. "usr/pkgsrc/net/pureftpd/pure-ftpd.conf",
  832. "usr/pkgsrc/net/pureftpd/pureftpd.pdb",
  833. "usr/pkgsrc/net/pureftpd/pureftpd.passwd",
  834. "usr/ports/contrib/pure-ftpd/pure-ftpd.conf",
  835. "usr/ports/contrib/pure-ftpd/pureftpd.pdb",
  836. "usr/ports/contrib/pure-ftpd/pureftpd.passwd",
  837. "usr/sbin/mudlogd",
  838. "etc/muddleftpd/mudlog",
  839. "etc/muddleftpd.com",
  840. "etc/muddleftpd/mudlogd.conf",
  841. "etc/muddleftpd/muddleftpd.conf",
  842. "usr/sbin/mudpasswd",
  843. "etc/muddleftpd/muddleftpd.passwd",
  844. "etc/muddleftpd/passwd",
  845. "etc/logrotate.d/ftp",
  846. "etc/ftpchroot",
  847. "etc/ftphosts",
  848. "etc/ftpusers",
  849. "winnt/system32/logfiles/smtpsvc",
  850. "winnt/system32/logfiles/smtpsvc1",
  851. "winnt/system32/logfiles/smtpsvc2",
  852. "winnt/system32/logfiles/smtpsvc3",
  853. "winnt/system32/logfiles/smtpsvc4",
  854. "winnt/system32/logfiles/smtpsvc5",
  855. "windows/system32/logfiles/smtpsvc",
  856. "windows/system32/logfiles/smtpsvc1",
  857. "windows/system32/logfiles/smtpsvc2",
  858. "windows/system32/logfiles/smtpsvc3",
  859. "windows/system32/logfiles/smtpsvc4",
  860. "windows/system32/logfiles/smtpsvc5",
  861. "etc/osxhttpd/osxhttpd.conf",
  862. "system/library/webobjects/adaptors/apache2.2/apache.conf",
  863. "etc/apache2/sites-available/default",
  864. "etc/apache2/sites-available/default-ssl",
  865. "etc/apache2/sites-enabled/000-default",
  866. "etc/apache2/sites-enabled/default",
  867. "etc/apache2/apache2.conf",
  868. "etc/apache2/ports.conf",
  869. "usr/local/etc/apache/httpd.conf",
  870. "usr/pkg/etc/httpd/httpd.conf",
  871. "usr/pkg/etc/httpd/httpd-default.conf",
  872. "usr/pkg/etc/httpd/httpd-vhosts.conf",
  873. "etc/httpd/mod_php.conf",
  874. "etc/httpd/extra/httpd-ssl.conf",
  875. "etc/rc.d/rc.httpd",
  876. "usr/local/apache/conf/httpd.conf.default",
  877. "usr/local/apache/conf/access.conf",
  878. "usr/local/apache22/conf/httpd.conf",
  879. "usr/local/apache22/httpd.conf",
  880. "usr/local/etc/apache22/conf/httpd.conf",
  881. "usr/local/apps/apache22/conf/httpd.conf",
  882. "etc/apache22/conf/httpd.conf",
  883. "etc/apache22/httpd.conf",
  884. "opt/apache22/conf/httpd.conf",
  885. "usr/local/etc/apache2/vhosts.conf",
  886. "usr/local/apache/conf/vhosts.conf",
  887. "usr/local/apache2/conf/vhosts.conf",
  888. "usr/local/apache/conf/vhosts-custom.conf",
  889. "usr/local/apache2/conf/vhosts-custom.conf",
  890. "etc/apache/default-server.conf",
  891. "etc/apache2/default-server.conf",
  892. "usr/local/apache2/conf/extra/httpd-ssl.conf",
  893. "usr/local/apache2/conf/ssl.conf",
  894. "etc/httpd/conf.d",
  895. "usr/local/etc/apache22/httpd.conf",
  896. "usr/local/etc/apache2/httpd.conf",
  897. "etc/apache2/httpd2.conf",
  898. "etc/apache2/ssl-global.conf",
  899. "etc/apache2/vhosts.d/00_default_vhost.conf",
  900. "apache/conf/httpd.conf",
  901. "etc/apache/httpd.conf",
  902. "etc/httpd/conf",
  903. "http/httpd.conf",
  904. "usr/local/apache1.3/conf/httpd.conf",
  905. "usr/local/etc/httpd/conf",
  906. "var/apache/conf/httpd.conf",
  907. "var/www/conf",
  908. "www/apache/conf/httpd.conf",
  909. "www/conf/httpd.conf",
  910. "etc/init.d",
  911. "etc/apache/access.conf",
  912. "etc/rc.conf",
  913. "www/logs/freebsddiary-error.log",
  914. "www/logs/freebsddiary-access_log",
  915. "library/webserver/documents/index.html",
  916. "library/webserver/documents/index.htm",
  917. "library/webserver/documents/default.html",
  918. "library/webserver/documents/default.htm",
  919. "library/webserver/documents/index.php",
  920. "library/webserver/documents/default.php",
  921. "usr/local/etc/webmin/miniserv.conf",
  922. "etc/webmin/miniserv.conf",
  923. "usr/local/etc/webmin/miniserv.users",
  924. "etc/webmin/miniserv.users",
  925. "winnt/system32/logfiles/w3svc/inetsvn1.log",
  926. "winnt/system32/logfiles/w3svc1/inetsvn1.log",
  927. "winnt/system32/logfiles/w3svc2/inetsvn1.log",
  928. "winnt/system32/logfiles/w3svc3/inetsvn1.log",
  929. "windows/system32/logfiles/w3svc/inetsvn1.log",
  930. "windows/system32/logfiles/w3svc1/inetsvn1.log",
  931. "windows/system32/logfiles/w3svc2/inetsvn1.log",
  932. "windows/system32/logfiles/w3svc3/inetsvn1.log",
  933. "apache/logs/error.log",
  934. "apache/logs/access.log",
  935. "apache2/logs/error.log",
  936. "apache2/logs/access.log",
  937. "logs/error.log",
  938. "logs/access.log",
  939. "etc/httpd/logs/access_log",
  940. "etc/httpd/logs/access.log",
  941. "etc/httpd/logs/error_log",
  942. "etc/httpd/logs/error.log",
  943. "usr/local/apache/logs/access_log",
  944. "usr/local/apache/logs/access.log",
  945. "usr/local/apache/logs/error_log",
  946. "usr/local/apache/logs/error.log",
  947. "usr/local/apache2/logs/access_log",
  948. "usr/local/apache2/logs/access.log",
  949. "usr/local/apache2/logs/error_log",
  950. "usr/local/apache2/logs/error.log",
  951. "var/www/logs/access_log",
  952. "var/www/logs/access.log",
  953. "var/www/logs/error_log",
  954. "var/www/logs/error.log",
  955. "opt/lampp/logs/access_log",
  956. "opt/lampp/logs/error_log",
  957. "opt/xampp/logs/access_log",
  958. "opt/xampp/logs/error_log",
  959. "opt/lampp/logs/access.log",
  960. "opt/lampp/logs/error.log",
  961. "opt/xampp/logs/access.log",
  962. "opt/xampp/logs/error.log",
  963. "program files/apache group/apache/logs/access.log",
  964. "program files/apache group/apache/logs/error.log",
  965. "program files/apache software foundation/apache2.2/logs/error.log",
  966. "program files/apache software foundation/apache2.2/logs/access.log",
  967. "opt/apache/apache.conf",
  968. "opt/apache/conf/apache.conf",
  969. "opt/apache2/apache.conf",
  970. "opt/apache2/conf/apache.conf",
  971. "opt/httpd/apache.conf",
  972. "opt/httpd/conf/apache.conf",
  973. "etc/httpd/apache.conf",
  974. "etc/apache2/apache.conf",
  975. "etc/httpd/conf/apache.conf",
  976. "usr/local/apache/apache.conf",
  977. "usr/local/apache/conf/apache.conf",
  978. "usr/local/apache2/apache.conf",
  979. "usr/local/apache2/conf/apache.conf",
  980. "usr/local/php/apache.conf.php",
  981. "usr/local/php4/apache.conf.php",
  982. "usr/local/php5/apache.conf.php",
  983. "usr/local/php/apache.conf",
  984. "usr/local/php4/apache.conf",
  985. "usr/local/php5/apache.conf",
  986. "private/etc/httpd/apache.conf",
  987. "opt/apache/apache2.conf",
  988. "opt/apache/conf/apache2.conf",
  989. "opt/apache2/apache2.conf",
  990. "opt/apache2/conf/apache2.conf",
  991. "opt/httpd/apache2.conf",
  992. "opt/httpd/conf/apache2.conf",
  993. "etc/httpd/apache2.conf",
  994. "etc/httpd/conf/apache2.conf",
  995. "usr/local/apache/apache2.conf",
  996. "usr/local/apache/conf/apache2.conf",
  997. "usr/local/apache2/apache2.conf",
  998. "usr/local/apache2/conf/apache2.conf",
  999. "usr/local/php/apache2.conf.php",
  1000. "usr/local/php4/apache2.conf.php",
  1001. "usr/local/php5/apache2.conf.php",
  1002. "usr/local/php/apache2.conf",
  1003. "usr/local/php4/apache2.conf",
  1004. "usr/local/php5/apache2.conf",
  1005. "private/etc/httpd/apache2.conf",
  1006. "usr/local/apache/conf/httpd.conf",
  1007. "usr/local/apache2/conf/httpd.conf",
  1008. "etc/httpd/conf/httpd.conf",
  1009. "etc/apache/apache.conf",
  1010. "etc/apache/conf/httpd.conf",
  1011. "etc/apache2/httpd.conf",
  1012. "usr/apache2/conf/httpd.conf",
  1013. "usr/apache/conf/httpd.conf",
  1014. "usr/local/etc/apache/conf/httpd.conf",
  1015. "usr/local/apache/httpd.conf",
  1016. "usr/local/apache2/httpd.conf",
  1017. "usr/local/httpd/conf/httpd.conf",
  1018. "usr/local/etc/apache2/conf/httpd.conf",
  1019. "usr/local/etc/httpd/conf/httpd.conf",
  1020. "usr/local/apps/apache2/conf/httpd.conf",
  1021. "usr/local/apps/apache/conf/httpd.conf",
  1022. "usr/local/php/httpd.conf.php",
  1023. "usr/local/php4/httpd.conf.php",
  1024. "usr/local/php5/httpd.conf.php",
  1025. "usr/local/php/httpd.conf",
  1026. "usr/local/php4/httpd.conf",
  1027. "usr/local/php5/httpd.conf",
  1028. "etc/apache2/conf/httpd.conf",
  1029. "etc/http/conf/httpd.conf",
  1030. "etc/httpd/httpd.conf",
  1031. "etc/http/httpd.conf",
  1032. "etc/httpd.conf",
  1033. "opt/apache/conf/httpd.conf",
  1034. "opt/apache2/conf/httpd.conf",
  1035. "var/www/conf/httpd.conf",
  1036. "private/etc/httpd/httpd.conf",
  1037. "private/etc/httpd/httpd.conf.default",
  1038. "etc/apache2/vhosts.d/default_vhost.include",
  1039. "etc/apache2/conf.d/charset",
  1040. "etc/apache2/conf.d/security",
  1041. "etc/apache2/envvars",
  1042. "etc/apache2/mods-available/autoindex.conf",
  1043. "etc/apache2/mods-available/deflate.conf",
  1044. "etc/apache2/mods-available/dir.conf",
  1045. "etc/apache2/mods-available/mem_cache.conf",
  1046. "etc/apache2/mods-available/mime.conf",
  1047. "etc/apache2/mods-available/proxy.conf",
  1048. "etc/apache2/mods-available/setenvif.conf",
  1049. "etc/apache2/mods-available/ssl.conf",
  1050. "etc/apache2/mods-enabled/alias.conf",
  1051. "etc/apache2/mods-enabled/deflate.conf",
  1052. "etc/apache2/mods-enabled/dir.conf",
  1053. "etc/apache2/mods-enabled/mime.conf",
  1054. "etc/apache2/mods-enabled/negotiation.conf",
  1055. "etc/apache2/mods-enabled/php5.conf",
  1056. "etc/apache2/mods-enabled/status.conf",
  1057. "program files/apache group/apache/conf/httpd.conf",
  1058. "program files/apache group/apache2/conf/httpd.conf",
  1059. "program files/xampp/apache/conf/apache.conf",
  1060. "program files/xampp/apache/conf/apache2.conf",
  1061. "program files/xampp/apache/conf/httpd.conf",
  1062. "program files/apache group/apache/apache.conf",
  1063. "program files/apache group/apache/conf/apache.conf",
  1064. "program files/apache group/apache2/conf/apache.conf",
  1065. "program files/apache group/apache/apache2.conf",
  1066. "program files/apache group/apache/conf/apache2.conf",
  1067. "program files/apache group/apache2/conf/apache2.conf",
  1068. "program files/apache software foundation/apache2.2/conf/httpd.conf",
  1069. "volumes/macintosh_hd1/opt/httpd/conf/httpd.conf",
  1070. "volumes/macintosh_hd1/opt/apache/conf/httpd.conf",
  1071. "volumes/macintosh_hd1/opt/apache2/conf/httpd.conf",
  1072. "volumes/macintosh_hd1/usr/local/php/httpd.conf.php",
  1073. "volumes/macintosh_hd1/usr/local/php4/httpd.conf.php",
  1074. "volumes/macintosh_hd1/usr/local/php5/httpd.conf.php",
  1075. "volumes/webbackup/opt/apache2/conf/httpd.conf",
  1076. "volumes/webbackup/private/etc/httpd/httpd.conf",
  1077. "volumes/webbackup/private/etc/httpd/httpd.conf.default",
  1078. "usr/local/etc/apache/vhosts.conf",
  1079. "usr/local/jakarta/tomcat/conf/jakarta.conf",
  1080. "usr/local/jakarta/tomcat/conf/server.xml",
  1081. "usr/local/jakarta/tomcat/conf/context.xml",
  1082. "usr/local/jakarta/tomcat/conf/workers.properties",
  1083. "usr/local/jakarta/tomcat/conf/logging.properties",
  1084. "usr/local/jakarta/dist/tomcat/conf/jakarta.conf",
  1085. "usr/local/jakarta/dist/tomcat/conf/server.xml",
  1086. "usr/local/jakarta/dist/tomcat/conf/context.xml",
  1087. "usr/local/jakarta/dist/tomcat/conf/workers.properties",
  1088. "usr/local/jakarta/dist/tomcat/conf/logging.properties",
  1089. "usr/share/tomcat6/conf/server.xml",
  1090. "usr/share/tomcat6/conf/context.xml",
  1091. "usr/share/tomcat6/conf/workers.properties",
  1092. "usr/share/tomcat6/conf/logging.properties",
  1093. "var/cpanel/tomcat.options",
  1094. "usr/local/jakarta/tomcat/logs/catalina.out",
  1095. "usr/local/jakarta/tomcat/logs/catalina.err",
  1096. "opt/tomcat/logs/catalina.out",
  1097. "opt/tomcat/logs/catalina.err",
  1098. "usr/share/logs/catalina.out",
  1099. "usr/share/logs/catalina.err",
  1100. "usr/share/tomcat/logs/catalina.out",
  1101. "usr/share/tomcat/logs/catalina.err",
  1102. "usr/share/tomcat6/logs/catalina.out",
  1103. "usr/share/tomcat6/logs/catalina.err",
  1104. "usr/local/apache/logs/mod_jk.log",
  1105. "usr/local/jakarta/tomcat/logs/mod_jk.log",
  1106. "usr/local/jakarta/dist/tomcat/logs/mod_jk.log",
  1107. "opt/[jboss]/server/default/conf/jboss-minimal.xml",
  1108. "opt/[jboss]/server/default/conf/jboss-service.xml",
  1109. "opt/[jboss]/server/default/conf/jndi.properties",
  1110. "opt/[jboss]/server/default/conf/log4j.xml",
  1111. "opt/[jboss]/server/default/conf/login-config.xml",
  1112. "opt/[jboss]/server/default/conf/standardjaws.xml",
  1113. "opt/[jboss]/server/default/conf/standardjboss.xml",
  1114. "opt/[jboss]/server/default/conf/server.log.properties",
  1115. "opt/[jboss]/server/default/deploy/jboss-logging.xml",
  1116. "usr/local/[jboss]/server/default/conf/jboss-minimal.xml",
  1117. "usr/local/[jboss]/server/default/conf/jboss-service.xml",
  1118. "usr/local/[jboss]/server/default/conf/jndi.properties",
  1119. "usr/local/[jboss]/server/default/conf/log4j.xml",
  1120. "usr/local/[jboss]/server/default/conf/login-config.xml",
  1121. "usr/local/[jboss]/server/default/conf/standardjaws.xml",
  1122. "usr/local/[jboss]/server/default/conf/standardjboss.xml",
  1123. "usr/local/[jboss]/server/default/conf/server.log.properties",
  1124. "usr/local/[jboss]/server/default/deploy/jboss-logging.xml",
  1125. "private/tmp/[jboss]/server/default/conf/jboss-minimal.xml",
  1126. "private/tmp/[jboss]/server/default/conf/jboss-service.xml",
  1127. "private/tmp/[jboss]/server/default/conf/jndi.properties",
  1128. "private/tmp/[jboss]/server/default/conf/log4j.xml",
  1129. "private/tmp/[jboss]/server/default/conf/login-config.xml",
  1130. "private/tmp/[jboss]/server/default/conf/standardjaws.xml",
  1131. "private/tmp/[jboss]/server/default/conf/standardjboss.xml",
  1132. "private/tmp/[jboss]/server/default/conf/server.log.properties",
  1133. "private/tmp/[jboss]/server/default/deploy/jboss-logging.xml",
  1134. "tmp/[jboss]/server/default/conf/jboss-minimal.xml",
  1135. "tmp/[jboss]/server/default/conf/jboss-service.xml",
  1136. "tmp/[jboss]/server/default/conf/jndi.properties",
  1137. "tmp/[jboss]/server/default/conf/log4j.xml",
  1138. "tmp/[jboss]/server/default/conf/login-config.xml",
  1139. "tmp/[jboss]/server/default/conf/standardjaws.xml",
  1140. "tmp/[jboss]/server/default/conf/standardjboss.xml",
  1141. "tmp/[jboss]/server/default/conf/server.log.properties",
  1142. "tmp/[jboss]/server/default/deploy/jboss-logging.xml",
  1143. "program files/[jboss]/server/default/conf/jboss-minimal.xml",
  1144. "program files/[jboss]/server/default/conf/jboss-service.xml",
  1145. "program files/[jboss]/server/default/conf/jndi.properties",
  1146. "program files/[jboss]/server/default/conf/log4j.xml",
  1147. "program files/[jboss]/server/default/conf/login-config.xml",
  1148. "program files/[jboss]/server/default/conf/standardjaws.xml",
  1149. "program files/[jboss]/server/default/conf/standardjboss.xml",
  1150. "program files/[jboss]/server/default/conf/server.log.properties",
  1151. "program files/[jboss]/server/default/deploy/jboss-logging.xml",
  1152. "[jboss]/server/default/conf/jboss-minimal.xml",
  1153. "[jboss]/server/default/conf/jboss-service.xml",
  1154. "[jboss]/server/default/conf/jndi.properties",
  1155. "[jboss]/server/default/conf/log4j.xml",
  1156. "[jboss]/server/default/conf/login-config.xml",
  1157. "[jboss]/server/default/conf/standardjaws.xml",
  1158. "[jboss]/server/default/conf/standardjboss.xml",
  1159. "[jboss]/server/default/conf/server.log.properties",
  1160. "[jboss]/server/default/deploy/jboss-logging.xml",
  1161. "opt/[jboss]/server/default/log/server.log",
  1162. "opt/[jboss]/server/default/log/boot.log",
  1163. "usr/local/[jboss]/server/default/log/server.log",
  1164. "usr/local/[jboss]/server/default/log/boot.log",
  1165. "private/tmp/[jboss]/server/default/log/server.log",
  1166. "private/tmp/[jboss]/server/default/log/boot.log",
  1167. "tmp/[jboss]/server/default/log/server.log",
  1168. "tmp/[jboss]/server/default/log/boot.log",
  1169. "program files/[jboss]/server/default/log/server.log",
  1170. "program files/[jboss]/server/default/log/boot.log",
  1171. "[jboss]/server/default/log/server.log",
  1172. "[jboss]/server/default/log/boot.log",
  1173. "var/lighttpd.log",
  1174. "var/logs/access.log",
  1175. "usr/local/apache2/logs/lighttpd.error.log",
  1176. "usr/local/apache2/logs/lighttpd.log",
  1177. "usr/local/apache/logs/lighttpd.error.log",
  1178. "usr/local/apache/logs/lighttpd.log",
  1179. "usr/local/lighttpd/log/lighttpd.error.log",
  1180. "usr/local/lighttpd/log/access.log",
  1181. "usr/home/user/var/log/lighttpd.error.log",
  1182. "usr/home/user/var/log/apache.log",
  1183. "home/user/lighttpd/lighttpd.conf",
  1184. "usr/home/user/lighttpd/lighttpd.conf",
  1185. "etc/lighttpd/lighthttpd.conf",
  1186. "usr/local/etc/lighttpd.conf",
  1187. "usr/local/lighttpd/conf/lighttpd.conf",
  1188. "usr/local/etc/lighttpd.conf.new",
  1189. "var/www/.lighttpdpassword",
  1190. "logs/access_log",
  1191. "logs/error_log",
  1192. "etc/nginx/nginx.conf",
  1193. "usr/local/etc/nginx/nginx.conf",
  1194. "usr/local/nginx/conf/nginx.conf",
  1195. "usr/local/zeus/web/global.cfg",
  1196. "usr/local/zeus/web/log/errors",
  1197. "opt/lsws/conf/httpd_conf.xml",
  1198. "usr/local/lsws/conf/httpd_conf.xml",
  1199. "opt/lsws/logs/error.log",
  1200. "opt/lsws/logs/access.log",
  1201. "usr/local/lsws/logs/error.log",
  1202. "usr/local/logs/access.log",
  1203. "usr/local/samba/lib/log.user",
  1204. "usr/local/logs/samba.log",
  1205. "etc/samba/netlogon",
  1206. "etc/smbpasswd",
  1207. "etc/smb.conf",
  1208. "etc/samba/dhcp.conf",
  1209. "etc/samba/smb.conf",
  1210. "etc/samba/samba.conf",
  1211. "etc/samba/smb.conf.user",
  1212. "etc/samba/smbpasswd",
  1213. "etc/samba/smbusers",
  1214. "etc/samba/private/smbpasswd",
  1215. "usr/local/etc/smb.conf",
  1216. "usr/local/samba/lib/smb.conf.user",
  1217. "etc/dhcp3/dhclient.conf",
  1218. "etc/dhcp3/dhcpd.conf",
  1219. "etc/dhcp/dhclient.conf",
  1220. "program files/vidalia bundle/polipo/polipo.conf",
  1221. "etc/tor/tor-tsocks.conf",
  1222. "etc/stunnel/stunnel.conf",
  1223. "etc/tsocks.conf",
  1224. "etc/tinyproxy/tinyproxy.conf",
  1225. "etc/miredo-server.conf",
  1226. "etc/miredo.conf",
  1227. "etc/miredo/miredo-server.conf",
  1228. "etc/miredo/miredo.conf",
  1229. "etc/wicd/dhclient.conf.template.default",
  1230. "etc/wicd/manager-settings.conf",
  1231. "etc/wicd/wired-settings.conf",
  1232. "etc/wicd/wireless-settings.conf",
  1233. "etc/ipfw.rules",
  1234. "etc/ipfw.conf",
  1235. "etc/firewall.rules",
  1236. "winnt/system32/logfiles/firewall/pfirewall.log",
  1237. "winnt/system32/logfiles/firewall/pfirewall.log.old",
  1238. "windows/system32/logfiles/firewall/pfirewall.log",
  1239. "windows/system32/logfiles/firewall/pfirewall.log.old",
  1240. "etc/clamav/clamd.conf",
  1241. "etc/clamav/freshclam.conf",
  1242. "etc/x11/xorg.conf",
  1243. "etc/x11/xorg.conf-vesa",
  1244. "etc/x11/xorg.conf-vmware",
  1245. "etc/x11/xorg.conf.beforevmwaretoolsinstall",
  1246. "etc/x11/xorg.conf.orig",
  1247. "etc/bluetooth/input.conf",
  1248. "etc/bluetooth/main.conf",
  1249. "etc/bluetooth/network.conf",
  1250. "etc/bluetooth/rfcomm.conf",
  1251. "etc/bash_completion.d/debconf",
  1252. "root/.bash_logout",
  1253. "root/.bash_history",
  1254. "root/.bash_config",
  1255. "root/.bashrc",
  1256. "etc/bash.bashrc",
  1257. "var/adm/syslog",
  1258. "var/adm/sulog",
  1259. "var/adm/utmp",
  1260. "var/adm/utmpx",
  1261. "var/adm/wtmp",
  1262. "var/adm/wtmpx",
  1263. "var/adm/lastlog/username",
  1264. "usr/spool/lp/log",
  1265. "var/adm/lp/lpd-errs",
  1266. "usr/lib/cron/log",
  1267. "var/adm/loginlog",
  1268. "var/adm/pacct",
  1269. "var/adm/dtmp",
  1270. "var/adm/acct/sum/loginlog",
  1271. "var/adm/x0msgs",
  1272. "var/adm/crash/vmcore",
  1273. "var/adm/crash/unix",
  1274. "etc/newsyslog.conf",
  1275. "var/adm/qacct",
  1276. "var/adm/ras/errlog",
  1277. "var/adm/ras/bootlog",
  1278. "var/adm/cron/log",
  1279. "etc/utmp",
  1280. "etc/security/lastlog",
  1281. "etc/security/failedlogin",
  1282. "usr/spool/mqueue/syslog",
  1283. "var/adm/messages",
  1284. "var/adm/aculogs",
  1285. "var/adm/aculog",
  1286. "var/adm/vold.log",
  1287. "var/adm/log/asppp.log",
  1288. "var/lp/logs/lpsched",
  1289. "var/lp/logs/lpnet",
  1290. "var/lp/logs/requests",
  1291. "var/cron/log",
  1292. "var/saf/_log",
  1293. "var/saf/port/log",
  1294. "tmp/access.log",
  1295. "etc/sensors.conf",
  1296. "etc/sensors3.conf",
  1297. "etc/host.conf",
  1298. "etc/pam.conf",
  1299. "etc/resolv.conf",
  1300. "etc/apt/apt.conf",
  1301. "etc/inetd.conf",
  1302. "etc/syslog.conf",
  1303. "etc/sysctl.conf",
  1304. "etc/sysctl.d/10-console-messages.conf",
  1305. "etc/sysctl.d/10-network-security.conf",
  1306. "etc/sysctl.d/10-process-security.conf",
  1307. "etc/sysctl.d/wine.sysctl.conf",
  1308. "etc/security/access.conf",
  1309. "etc/security/group.conf",
  1310. "etc/security/limits.conf",
  1311. "etc/security/namespace.conf",
  1312. "etc/security/pam_env.conf",
  1313. "etc/security/sepermit.conf",
  1314. "etc/security/time.conf",
  1315. "etc/ssh/sshd_config",
  1316. "etc/adduser.conf",
  1317. "etc/deluser.conf",
  1318. "etc/avahi/avahi-daemon.conf",
  1319. "etc/ca-certificates.conf",
  1320. "etc/ca-certificates.conf.dpkg-old",
  1321. "etc/casper.conf",
  1322. "etc/chkrootkit.conf",
  1323. "etc/debconf.conf",
  1324. "etc/dns2tcpd.conf",
  1325. "etc/e2fsck.conf",
  1326. "etc/esound/esd.conf",
  1327. "etc/etter.conf",
  1328. "etc/fuse.conf",
  1329. "etc/foremost.conf",
  1330. "etc/hdparm.conf",
  1331. "etc/kernel-img.conf",
  1332. "etc/kernel-pkg.conf",
  1333. "etc/ld.so.conf",
  1334. "etc/ltrace.conf",
  1335. "etc/mail/sendmail.conf",
  1336. "etc/manpath.config",
  1337. "etc/kbd/config",
  1338. "etc/ldap/ldap.conf",
  1339. "etc/logrotate.conf",
  1340. "etc/mtools.conf",
  1341. "etc/smi.conf",
  1342. "etc/updatedb.conf",
  1343. "etc/pulse/client.conf",
  1344. "usr/share/adduser/adduser.conf",
  1345. "etc/hostname",
  1346. "etc/networks",
  1347. "etc/timezone",
  1348. "etc/modules",
  1349. "etc/passwd",
  1350. "etc/passwd~",
  1351. "etc/passwd-",
  1352. "etc/shadow",
  1353. "etc/shadow~",
  1354. "etc/shadow-",
  1355. "etc/fstab",
  1356. "etc/motd",
  1357. "etc/hosts",
  1358. "etc/group",
  1359. "etc/group-",
  1360. "etc/alias",
  1361. "etc/crontab",
  1362. "etc/crypttab",
  1363. "etc/exports",
  1364. "etc/mtab",
  1365. "etc/hosts.allow",
  1366. "etc/hosts.deny",
  1367. "etc/os-release",
  1368. "etc/password.master",
  1369. "etc/profile",
  1370. "etc/default/grub",
  1371. "etc/resolvconf/update-libc.d/sendmail",
  1372. "etc/inittab",
  1373. "etc/issue",
  1374. "etc/issue.net",
  1375. "etc/login.defs",
  1376. "etc/sudoers",
  1377. "etc/sysconfig/network-scripts/ifcfg-eth0",
  1378. "etc/redhat-release",
  1379. "etc/scw-release",
  1380. "etc/system-release-cpe",
  1381. "etc/debian_version",
  1382. "etc/fedora-release",
  1383. "etc/mandrake-release",
  1384. "etc/slackware-release",
  1385. "etc/suse-release",
  1386. "etc/security/group",
  1387. "etc/security/passwd",
  1388. "etc/security/user",
  1389. "etc/security/environ",
  1390. "etc/security/limits",
  1391. "etc/security/opasswd",
  1392. "boot/grub/grub.cfg",
  1393. "boot/grub/menu.lst",
  1394. "root/.ksh_history",
  1395. "root/.xauthority",
  1396. "usr/lib/security/mkuser.default",
  1397. "var/lib/squirrelmail/prefs/squirrelmail.log",
  1398. "etc/squirrelmail/apache.conf",
  1399. "etc/squirrelmail/config_local.php",
  1400. "etc/squirrelmail/default_pref",
  1401. "etc/squirrelmail/index.php",
  1402. "etc/squirrelmail/config_default.php",
  1403. "etc/squirrelmail/config.php",
  1404. "etc/squirrelmail/filters_setup.php",
  1405. "etc/squirrelmail/sqspell_config.php",
  1406. "etc/squirrelmail/config/config.php",
  1407. "etc/httpd/conf.d/squirrelmail.conf",
  1408. "usr/share/squirrelmail/config/config.php",
  1409. "private/etc/squirrelmail/config/config.php",
  1410. "srv/www/htdos/squirrelmail/config/config.php",
  1411. "var/www/squirrelmail/config/config.php",
  1412. "var/www/html/squirrelmail/config/config.php",
  1413. "var/www/html/squirrelmail-1.2.9/config/config.php",
  1414. "usr/share/squirrelmail/plugins/squirrel_logger/setup.php",
  1415. "usr/local/squirrelmail/www/readme",
  1416. "windows/system32/drivers/etc/hosts",
  1417. "windows/system32/drivers/etc/lmhosts.sam",
  1418. "windows/system32/drivers/etc/networks",
  1419. "windows/system32/drivers/etc/protocol",
  1420. "windows/system32/drivers/etc/services",
  1421. "/boot.ini",
  1422. "windows/debug/netsetup.log",
  1423. "windows/comsetup.log",
  1424. "windows/repair/setup.log",
  1425. "windows/setupact.log",
  1426. "windows/setupapi.log",
  1427. "windows/setuperr.log",
  1428. "windows/updspapi.log",
  1429. "windows/wmsetup.log",
  1430. "windows/windowsupdate.log",
  1431. "windows/odbc.ini",
  1432. "usr/local/psa/admin/htdocs/domains/databases/phpmyadmin/libraries/config.default.php",
  1433. "etc/apache2/conf.d/phpmyadmin.conf",
  1434. "etc/phpmyadmin/config.inc.php",
  1435. "etc/openldap/ldap.conf",
  1436. "etc/cups/acroread.conf",
  1437. "etc/cups/cupsd.conf",
  1438. "etc/cups/cupsd.conf.default",
  1439. "etc/cups/pdftops.conf",
  1440. "etc/cups/printers.conf",
  1441. "windows/system32/macromed/flash/flashinstall.log",
  1442. "windows/system32/macromed/flash/install.log",
  1443. "etc/cvs-cron.conf",
  1444. "etc/cvs-pserver.conf",
  1445. "etc/subversion/config",
  1446. "etc/modprobe.d/vmware-tools.conf",
  1447. "etc/updatedb.conf.beforevmwaretoolsinstall",
  1448. "etc/vmware-tools/config",
  1449. "etc/vmware-tools/tpvmlp.conf",
  1450. "etc/vmware-tools/vmware-tools-libraries.conf",
  1451. "var/log",
  1452. "var/log/sw-cp-server/error_log",
  1453. "var/log/sso/sso.log",
  1454. "var/log/dpkg.log",
  1455. "var/log/btmp",
  1456. "var/log/utmp",
  1457. "var/log/wtmp",
  1458. "var/log/mysql/mysql-bin.log",
  1459. "var/log/mysql/mysql-bin.index",
  1460. "var/log/mysql/data/mysql-bin.index",
  1461. "var/log/mysql.log",
  1462. "var/log/mysql.err",
  1463. "var/log/mysqlderror.log",
  1464. "var/log/mysql/mysql.log",
  1465. "var/log/mysql/mysql-slow.log",
  1466. "var/log/mysql-bin.index",
  1467. "var/log/data/mysql-bin.index",
  1468. "var/log/postgresql/postgresql.log",
  1469. "var/log/postgres/pg_backup.log",
  1470. "var/log/postgres/postgres.log",
  1471. "var/log/postgresql.log",
  1472. "var/log/pgsql/pgsql.log",
  1473. "var/log/postgresql/postgresql-8.1-main.log",
  1474. "var/log/postgresql/postgresql-8.3-main.log",
  1475. "var/log/postgresql/postgresql-8.4-main.log",
  1476. "var/log/postgresql/postgresql-9.0-main.log",
  1477. "var/log/postgresql/postgresql-9.1-main.log",
  1478. "var/log/pgsql8.log",
  1479. "var/log/postgresql/postgres.log",
  1480. "var/log/pgsql_log",
  1481. "var/log/postgresql/main.log",
  1482. "var/log/cron",
  1483. "var/log/postgres.log",
  1484. "var/log/proftpd",
  1485. "var/log/proftpd/xferlog.legacy",
  1486. "var/log/proftpd.access_log",
  1487. "var/log/proftpd.xferlog",
  1488. "var/log/vsftpd.log",
  1489. "var/log/xferlog",
  1490. "var/log/pure-ftpd/pure-ftpd.log",
  1491. "var/log/pureftpd.log",
  1492. "var/log/muddleftpd",
  1493. "var/log/muddleftpd.conf",
  1494. "var/log/ftp-proxy/ftp-proxy.log",
  1495. "var/log/ftp-proxy",
  1496. "var/log/ftplog",
  1497. "var/log/exim_mainlog",
  1498. "var/log/exim/mainlog",
  1499. "var/log/maillog",
  1500. "var/log/exim_paniclog",
  1501. "var/log/exim/paniclog",
  1502. "var/log/exim/rejectlog",
  1503. "var/log/exim_rejectlog",
  1504. "var/log/webmin/miniserv.log",
  1505. "var/log/httpd/access_log",
  1506. "var/log/httpd/error_log",
  1507. "var/log/httpd/access.log",
  1508. "var/log/httpd/error.log",
  1509. "var/log/apache/access_log",
  1510. "var/log/apache/access.log",
  1511. "var/log/apache/error_log",
  1512. "var/log/apache/error.log",
  1513. "var/log/apache2/access_log",
  1514. "var/log/apache2/access.log",
  1515. "var/log/apache2/error_log",
  1516. "var/log/apache2/error.log",
  1517. "var/log/access_log",
  1518. "var/log/access.log",
  1519. "var/log/error_log",
  1520. "var/log/error.log",
  1521. "var/log/tomcat6/catalina.out",
  1522. "var/log/lighttpd.error.log",
  1523. "var/log/lighttpd.access.log",
  1524. "var/logs/access.log",
  1525. "var/log/lighttpd/",
  1526. "var/log/lighttpd/error.log",
  1527. "var/log/lighttpd/access.www.log",
  1528. "var/log/lighttpd/error.www.log",
  1529. "var/log/lighttpd/access.log",
  1530. "var/log/lighttpd/{domain}/access.log",
  1531. "var/log/lighttpd/{domain}/error.log",
  1532. "var/log/nginx/access_log",
  1533. "var/log/nginx/error_log",
  1534. "var/log/nginx/access.log",
  1535. "var/log/nginx/error.log",
  1536. "var/log/nginx.access_log",
  1537. "var/log/nginx.error_log",
  1538. "var/log/samba/log.smbd",
  1539. "var/log/samba/log.nmbd",
  1540. "var/log/samba.log",
  1541. "var/log/samba.log1",
  1542. "var/log/samba.log2",
  1543. "var/log/log.smb",
  1544. "var/log/ipfw.log",
  1545. "var/log/ipfw",
  1546. "var/log/ipfw/ipfw.log",
  1547. "var/log/ipfw.today",
  1548. "var/log/poplog",
  1549. "var/log/authlog",
  1550. "var/log/news.all",
  1551. "var/log/news/news.all",
  1552. "var/log/news/news.crit",
  1553. "var/log/news/news.err",
  1554. "var/log/news/news.notice",
  1555. "var/log/news/suck.err",
  1556. "var/log/news/suck.notice",
  1557. "var/log/messages",
  1558. "var/log/messages.1",
  1559. "var/log/user.log",
  1560. "var/log/user.log.1",
  1561. "var/log/auth.log",
  1562. "var/log/pm-powersave.log",
  1563. "var/log/xorg.0.log",
  1564. "var/log/daemon.log",
  1565. "var/log/daemon.log.1",
  1566. "var/log/kern.log",
  1567. "var/log/kern.log.1",
  1568. "var/log/mail.err",
  1569. "var/log/mail.info",
  1570. "var/log/mail.warn",
  1571. "var/log/ufw.log",
  1572. "var/log/boot.log",
  1573. "var/log/syslog",
  1574. "var/log/syslog.1",
  1575. "var/log/squirrelmail.log",
  1576. "var/log/apache2/squirrelmail.log",
  1577. "var/log/apache2/squirrelmail.err.log",
  1578. "var/log/mail.log",
  1579. "var/log/vmware/hostd.log",
  1580. "var/log/vmware/hostd-1.log",
  1581. "/wp-config.php",
  1582. "/wp-config.bak",
  1583. "/wp-config.old",
  1584. "/wp-config.temp",
  1585. "/wp-config.tmp",
  1586. "/wp-config.txt",
  1587. "/config.yml",
  1588. "/config_dev.yml",
  1589. "/config_prod.yml",
  1590. "/config_test.yml",
  1591. "/parameters.yml",
  1592. "/routing.yml",
  1593. "/security.yml",
  1594. "/services.yml",
  1595. "sites/default/default.settings.php",
  1596. "sites/default/settings.php",
  1597. "sites/default/settings.local.php",
  1598. "app/etc/local.xml",
  1599. "/sftp-config.json",
  1600. "/web.config",
  1601. "includes/config.php",
  1602. "includes/configure.php",
  1603. "/config.inc.php",
  1604. "/localsettings.php",
  1605. "inc/config.php",
  1606. "typo3conf/localconf.php",
  1607. "config/app.php",
  1608. "config/custom.php",
  1609. "config/database.php",
  1610. "/configuration.php",
  1611. "/config.php",
  1612. "var/mail/www-data",
  1613. "etc/network/",
  1614. "etc/init/",
  1615. "inetpub/wwwroot/global.asa",
  1616. "system32/inetsrv/config/applicationhost.config",
  1617. "system32/inetsrv/config/administration.config",
  1618. "system32/inetsrv/config/redirection.config",
  1619. "system32/config/default",
  1620. "system32/config/sam",
  1621. "system32/config/system",
  1622. "system32/config/software",
  1623. "winnt/repair/sam._",
  1624. "/package.json",
  1625. "/package-lock.json",
  1626. "/gruntfile.js",
  1627. "/npm-debug.log",
  1628. "/ormconfig.json",
  1629. "/tsconfig.json",
  1630. "/webpack.config.js",
  1631. "/yarn.lock",
  1632. "proc/0",
  1633. "proc/1",
  1634. "proc/2",
  1635. "proc/3",
  1636. "proc/4",
  1637. "proc/5",
  1638. "proc/6",
  1639. "proc/7",
  1640. "proc/8",
  1641. "proc/9",
  1642. "proc/acpi",
  1643. "proc/asound",
  1644. "proc/bootconfig",
  1645. "proc/buddyinfo",
  1646. "proc/bus",
  1647. "proc/cgroups",
  1648. "proc/cmdline",
  1649. "proc/config.gz",
  1650. "proc/consoles",
  1651. "proc/cpuinfo",
  1652. "proc/crypto",
  1653. "proc/devices",
  1654. "proc/diskstats",
  1655. "proc/dma",
  1656. "proc/docker",
  1657. "proc/driver",
  1658. "proc/dynamic_debug",
  1659. "proc/execdomains",
  1660. "proc/fb",
  1661. "proc/filesystems",
  1662. "proc/fs",
  1663. "proc/interrupts",
  1664. "proc/iomem",
  1665. "proc/ioports",
  1666. "proc/ipmi",
  1667. "proc/irq",
  1668. "proc/kallsyms",
  1669. "proc/kcore",
  1670. "proc/keys",
  1671. "proc/keys",
  1672. "proc/key-users",
  1673. "proc/kmsg",
  1674. "proc/kpagecgroup",
  1675. "proc/kpagecount",
  1676. "proc/kpageflags",
  1677. "proc/latency_stats",
  1678. "proc/loadavg",
  1679. "proc/locks",
  1680. "proc/mdstat",
  1681. "proc/meminfo",
  1682. "proc/misc",
  1683. "proc/modules",
  1684. "proc/mounts",
  1685. "proc/mpt",
  1686. "proc/mtd",
  1687. "proc/mtrr",
  1688. "proc/net",
  1689. "proc/net/tcp",
  1690. "proc/net/udp",
  1691. "proc/pagetypeinfo",
  1692. "proc/partitions",
  1693. "proc/pressure",
  1694. "proc/sched_debug",
  1695. "proc/schedstat",
  1696. "proc/scsi",
  1697. "proc/self",
  1698. "proc/self/cmdline",
  1699. "proc/self/environ",
  1700. "proc/self/fd/0",
  1701. "proc/self/fd/1",
  1702. "proc/self/fd/10",
  1703. "proc/self/fd/11",
  1704. "proc/self/fd/12",
  1705. "proc/self/fd/13",
  1706. "proc/self/fd/14",
  1707. "proc/self/fd/15",
  1708. "proc/self/fd/2",
  1709. "proc/self/fd/3",
  1710. "proc/self/fd/4",
  1711. "proc/self/fd/5",
  1712. "proc/self/fd/6",
  1713. "proc/self/fd/7",
  1714. "proc/self/fd/8",
  1715. "proc/self/fd/9",
  1716. "proc/self/mounts",
  1717. "proc/self/stat",
  1718. "proc/self/status",
  1719. "proc/slabinfo",
  1720. "proc/softirqs",
  1721. "proc/stat",
  1722. "proc/swaps",
  1723. "proc/sys",
  1724. "proc/sysrq-trigger",
  1725. "proc/sysvipc",
  1726. "proc/thread-self",
  1727. "proc/timer_list",
  1728. "proc/timer_stats",
  1729. "proc/tty",
  1730. "proc/uptime",
  1731. "proc/version",
  1732. "proc/version_signature",
  1733. "proc/vmallocinfo",
  1734. "proc/vmstat",
  1735. "proc/zoneinfo",
  1736. "sys/block",
  1737. "sys/bus",
  1738. "sys/class",
  1739. "sys/dev",
  1740. "sys/devices",
  1741. "sys/firmware",
  1742. "sys/fs",
  1743. "sys/hypervisor",
  1744. "sys/kernel",
  1745. "sys/module",
  1746. "sys/power"
  1747. ]
  1748. },
  1749. "operator": "phrase_match"
  1750. }
  1751. ],
  1752. "transformers": [
  1753. "lowercase",
  1754. "normalizePath"
  1755. ]
  1756. },
  1757. {
  1758. "id": "crs-931-110",
  1759. "name": "RFI: Common RFI Vulnerable Parameter Name used w/ URL Payload",
  1760. "tags": {
  1761. "type": "rfi",
  1762. "crs_id": "931110",
  1763. "category": "attack_attempt"
  1764. },
  1765. "conditions": [
  1766. {
  1767. "parameters": {
  1768. "inputs": [
  1769. {
  1770. "address": "server.request.query"
  1771. }
  1772. ],
  1773. "regex": "(?:\\binclude\\s*\\([^)]*|mosConfig_absolute_path|_CONF\\[path\\]|_SERVER\\[DOCUMENT_ROOT\\]|GALLERY_BASEDIR|path\\[docroot\\]|appserv_root|config\\[root_dir\\])=(?:file|ftps?|https?)://",
  1774. "options": {
  1775. "min_length": 15
  1776. }
  1777. },
  1778. "operator": "match_regex"
  1779. }
  1780. ],
  1781. "transformers": []
  1782. },
  1783. {
  1784. "id": "crs-931-120",
  1785. "name": "RFI: URL Payload Used w/Trailing Question Mark Character (?)",
  1786. "tags": {
  1787. "type": "rfi",
  1788. "crs_id": "931120",
  1789. "category": "attack_attempt"
  1790. },
  1791. "conditions": [
  1792. {
  1793. "parameters": {
  1794. "inputs": [
  1795. {
  1796. "address": "server.request.query"
  1797. },
  1798. {
  1799. "address": "server.request.body"
  1800. },
  1801. {
  1802. "address": "server.request.path_params"
  1803. }
  1804. ],
  1805. "regex": "^(?i:file|ftps?|http)://.*?\\?+$",
  1806. "options": {
  1807. "case_sensitive": true,
  1808. "min_length": 4
  1809. }
  1810. },
  1811. "operator": "match_regex"
  1812. }
  1813. ],
  1814. "transformers": []
  1815. },
  1816. {
  1817. "id": "crs-932-160",
  1818. "name": "Remote Command Execution: Unix Shell Code Found",
  1819. "tags": {
  1820. "type": "command_injection",
  1821. "crs_id": "932160",
  1822. "category": "attack_attempt"
  1823. },
  1824. "conditions": [
  1825. {
  1826. "parameters": {
  1827. "inputs": [
  1828. {
  1829. "address": "server.request.query"
  1830. },
  1831. {
  1832. "address": "server.request.body"
  1833. },
  1834. {
  1835. "address": "server.request.path_params"
  1836. },
  1837. {
  1838. "address": "grpc.server.request.message"
  1839. }
  1840. ],
  1841. "list": [
  1842. "${cdpath}",
  1843. "${dirstack}",
  1844. "${home}",
  1845. "${hostname}",
  1846. "${ifs}",
  1847. "${oldpwd}",
  1848. "${ostype}",
  1849. "${path}",
  1850. "${pwd}",
  1851. "$cdpath",
  1852. "$dirstack",
  1853. "$home",
  1854. "$hostname",
  1855. "$ifs",
  1856. "$oldpwd",
  1857. "$ostype",
  1858. "$path",
  1859. "$pwd",
  1860. "dev/fd/",
  1861. "dev/null",
  1862. "dev/stderr",
  1863. "dev/stdin",
  1864. "dev/stdout",
  1865. "dev/tcp/",
  1866. "dev/udp/",
  1867. "dev/zero",
  1868. "etc/group",
  1869. "etc/master.passwd",
  1870. "etc/passwd",
  1871. "etc/pwd.db",
  1872. "etc/shadow",
  1873. "etc/shells",
  1874. "etc/spwd.db",
  1875. "proc/self/",
  1876. "bin/7z",
  1877. "bin/7za",
  1878. "bin/7zr",
  1879. "bin/ab",
  1880. "bin/agetty",
  1881. "bin/ansible-playbook",
  1882. "bin/apt",
  1883. "bin/apt-get",
  1884. "bin/ar",
  1885. "bin/aria2c",
  1886. "bin/arj",
  1887. "bin/arp",
  1888. "bin/as",
  1889. "bin/ascii-xfr",
  1890. "bin/ascii85",
  1891. "bin/ash",
  1892. "bin/aspell",
  1893. "bin/at",
  1894. "bin/atobm",
  1895. "bin/awk",
  1896. "bin/base32",
  1897. "bin/base64",
  1898. "bin/basenc",
  1899. "bin/bash",
  1900. "bin/bpftrace",
  1901. "bin/bridge",
  1902. "bin/bundler",
  1903. "bin/bunzip2",
  1904. "bin/busctl",
  1905. "bin/busybox",
  1906. "bin/byebug",
  1907. "bin/bzcat",
  1908. "bin/bzcmp",
  1909. "bin/bzdiff",
  1910. "bin/bzegrep",
  1911. "bin/bzexe",
  1912. "bin/bzfgrep",
  1913. "bin/bzgrep",
  1914. "bin/bzip2",
  1915. "bin/bzip2recover",
  1916. "bin/bzless",
  1917. "bin/bzmore",
  1918. "bin/bzz",
  1919. "bin/c89",
  1920. "bin/c99",
  1921. "bin/cancel",
  1922. "bin/capsh",
  1923. "bin/cat",
  1924. "bin/cc",
  1925. "bin/certbot",
  1926. "bin/check_by_ssh",
  1927. "bin/check_cups",
  1928. "bin/check_log",
  1929. "bin/check_memory",
  1930. "bin/check_raid",
  1931. "bin/check_ssl_cert",
  1932. "bin/check_statusfile",
  1933. "bin/chmod",
  1934. "bin/choom",
  1935. "bin/chown",
  1936. "bin/chroot",
  1937. "bin/clang",
  1938. "bin/clang++",
  1939. "bin/cmp",
  1940. "bin/cobc",
  1941. "bin/column",
  1942. "bin/comm",
  1943. "bin/composer",
  1944. "bin/core_perl/zipdetails",
  1945. "bin/cowsay",
  1946. "bin/cowthink",
  1947. "bin/cp",
  1948. "bin/cpan",
  1949. "bin/cpio",
  1950. "bin/cpulimit",
  1951. "bin/crash",
  1952. "bin/crontab",
  1953. "bin/csh",
  1954. "bin/csplit",
  1955. "bin/csvtool",
  1956. "bin/cupsfilter",
  1957. "bin/curl",
  1958. "bin/cut",
  1959. "bin/dash",
  1960. "bin/date",
  1961. "bin/dd",
  1962. "bin/dev/fd/",
  1963. "bin/dev/null",
  1964. "bin/dev/stderr",
  1965. "bin/dev/stdin",
  1966. "bin/dev/stdout",
  1967. "bin/dev/tcp/",
  1968. "bin/dev/udp/",
  1969. "bin/dev/zero",
  1970. "bin/dialog",
  1971. "bin/diff",
  1972. "bin/dig",
  1973. "bin/dmesg",
  1974. "bin/dmidecode",
  1975. "bin/dmsetup",
  1976. "bin/dnf",
  1977. "bin/docker",
  1978. "bin/dosbox",
  1979. "bin/dpkg",
  1980. "bin/du",
  1981. "bin/dvips",
  1982. "bin/easy_install",
  1983. "bin/eb",
  1984. "bin/echo",
  1985. "bin/ed",
  1986. "bin/efax",
  1987. "bin/emacs",
  1988. "bin/env",
  1989. "bin/eqn",
  1990. "bin/es",
  1991. "bin/esh",
  1992. "bin/etc/group",
  1993. "bin/etc/master.passwd",
  1994. "bin/etc/passwd",
  1995. "bin/etc/pwd.db",
  1996. "bin/etc/shadow",
  1997. "bin/etc/shells",
  1998. "bin/etc/spwd.db",
  1999. "bin/ex",
  2000. "bin/exiftool",
  2001. "bin/expand",
  2002. "bin/expect",
  2003. "bin/expr",
  2004. "bin/facter",
  2005. "bin/fetch",
  2006. "bin/file",
  2007. "bin/find",
  2008. "bin/finger",
  2009. "bin/fish",
  2010. "bin/flock",
  2011. "bin/fmt",
  2012. "bin/fold",
  2013. "bin/fping",
  2014. "bin/ftp",
  2015. "bin/gawk",
  2016. "bin/gcc",
  2017. "bin/gcore",
  2018. "bin/gdb",
  2019. "bin/gem",
  2020. "bin/genie",
  2021. "bin/genisoimage",
  2022. "bin/ghc",
  2023. "bin/ghci",
  2024. "bin/gimp",
  2025. "bin/ginsh",
  2026. "bin/git",
  2027. "bin/grc",
  2028. "bin/grep",
  2029. "bin/gtester",
  2030. "bin/gunzip",
  2031. "bin/gzexe",
  2032. "bin/gzip",
  2033. "bin/hd",
  2034. "bin/head",
  2035. "bin/hexdump",
  2036. "bin/highlight",
  2037. "bin/hping3",
  2038. "bin/iconv",
  2039. "bin/id",
  2040. "bin/iftop",
  2041. "bin/install",
  2042. "bin/ionice",
  2043. "bin/ip",
  2044. "bin/irb",
  2045. "bin/ispell",
  2046. "bin/jjs",
  2047. "bin/join",
  2048. "bin/journalctl",
  2049. "bin/jq",
  2050. "bin/jrunscript",
  2051. "bin/knife",
  2052. "bin/ksh",
  2053. "bin/ksshell",
  2054. "bin/latex",
  2055. "bin/ld",
  2056. "bin/ldconfig",
  2057. "bin/less",
  2058. "bin/lftp",
  2059. "bin/ln",
  2060. "bin/loginctl",
  2061. "bin/logsave",
  2062. "bin/look",
  2063. "bin/lp",
  2064. "bin/ls",
  2065. "bin/ltrace",
  2066. "bin/lua",
  2067. "bin/lualatex",
  2068. "bin/luatex",
  2069. "bin/lwp-download",
  2070. "bin/lwp-request",
  2071. "bin/lz",
  2072. "bin/lz4",
  2073. "bin/lz4c",
  2074. "bin/lz4cat",
  2075. "bin/lzcat",
  2076. "bin/lzcmp",
  2077. "bin/lzdiff",
  2078. "bin/lzegrep",
  2079. "bin/lzfgrep",
  2080. "bin/lzgrep",
  2081. "bin/lzless",
  2082. "bin/lzma",
  2083. "bin/lzmadec",
  2084. "bin/lzmainfo",
  2085. "bin/lzmore",
  2086. "bin/mail",
  2087. "bin/make",
  2088. "bin/man",
  2089. "bin/mawk",
  2090. "bin/mkfifo",
  2091. "bin/mknod",
  2092. "bin/more",
  2093. "bin/mosquitto",
  2094. "bin/mount",
  2095. "bin/msgattrib",
  2096. "bin/msgcat",
  2097. "bin/msgconv",
  2098. "bin/msgfilter",
  2099. "bin/msgmerge",
  2100. "bin/msguniq",
  2101. "bin/mtr",
  2102. "bin/mv",
  2103. "bin/mysql",
  2104. "bin/nano",
  2105. "bin/nasm",
  2106. "bin/nawk",
  2107. "bin/nc",
  2108. "bin/ncat",
  2109. "bin/neofetch",
  2110. "bin/nice",
  2111. "bin/nl",
  2112. "bin/nm",
  2113. "bin/nmap",
  2114. "bin/node",
  2115. "bin/nohup",
  2116. "bin/npm",
  2117. "bin/nroff",
  2118. "bin/nsenter",
  2119. "bin/octave",
  2120. "bin/od",
  2121. "bin/openssl",
  2122. "bin/openvpn",
  2123. "bin/openvt",
  2124. "bin/opkg",
  2125. "bin/paste",
  2126. "bin/pax",
  2127. "bin/pdb",
  2128. "bin/pdflatex",
  2129. "bin/pdftex",
  2130. "bin/pdksh",
  2131. "bin/perf",
  2132. "bin/perl",
  2133. "bin/pg",
  2134. "bin/php",
  2135. "bin/php-cgi",
  2136. "bin/php5",
  2137. "bin/php7",
  2138. "bin/pic",
  2139. "bin/pico",
  2140. "bin/pidstat",
  2141. "bin/pigz",
  2142. "bin/pip",
  2143. "bin/pkexec",
  2144. "bin/pkg",
  2145. "bin/pr",
  2146. "bin/printf",
  2147. "bin/proc/self/",
  2148. "bin/pry",
  2149. "bin/ps",
  2150. "bin/psed",
  2151. "bin/psftp",
  2152. "bin/psql",
  2153. "bin/ptx",
  2154. "bin/puppet",
  2155. "bin/pxz",
  2156. "bin/python",
  2157. "bin/python2",
  2158. "bin/python3",
  2159. "bin/rake",
  2160. "bin/rbash",
  2161. "bin/rc",
  2162. "bin/readelf",
  2163. "bin/red",
  2164. "bin/redcarpet",
  2165. "bin/restic",
  2166. "bin/rev",
  2167. "bin/rlogin",
  2168. "bin/rlwrap",
  2169. "bin/rpm",
  2170. "bin/rpmquery",
  2171. "bin/rsync",
  2172. "bin/ruby",
  2173. "bin/run-mailcap",
  2174. "bin/run-parts",
  2175. "bin/rview",
  2176. "bin/rvim",
  2177. "bin/sash",
  2178. "bin/sbin/capsh",
  2179. "bin/sbin/logsave",
  2180. "bin/sbin/service",
  2181. "bin/sbin/start-stop-daemon",
  2182. "bin/scp",
  2183. "bin/screen",
  2184. "bin/script",
  2185. "bin/sed",
  2186. "bin/service",
  2187. "bin/setarch",
  2188. "bin/sftp",
  2189. "bin/sg",
  2190. "bin/sh",
  2191. "bin/shuf",
  2192. "bin/sleep",
  2193. "bin/slsh",
  2194. "bin/smbclient",
  2195. "bin/snap",
  2196. "bin/socat",
  2197. "bin/soelim",
  2198. "bin/sort",
  2199. "bin/split",
  2200. "bin/sqlite3",
  2201. "bin/ss",
  2202. "bin/ssh",
  2203. "bin/ssh-keygen",
  2204. "bin/ssh-keyscan",
  2205. "bin/sshpass",
  2206. "bin/start-stop-daemon",
  2207. "bin/stdbuf",
  2208. "bin/strace",
  2209. "bin/strings",
  2210. "bin/su",
  2211. "bin/sysctl",
  2212. "bin/systemctl",
  2213. "bin/systemd-resolve",
  2214. "bin/tac",
  2215. "bin/tail",
  2216. "bin/tar",
  2217. "bin/task",
  2218. "bin/taskset",
  2219. "bin/tbl",
  2220. "bin/tclsh",
  2221. "bin/tcpdump",
  2222. "bin/tcsh",
  2223. "bin/tee",
  2224. "bin/telnet",
  2225. "bin/tex",
  2226. "bin/tftp",
  2227. "bin/tic",
  2228. "bin/time",
  2229. "bin/timedatectl",
  2230. "bin/timeout",
  2231. "bin/tmux",
  2232. "bin/top",
  2233. "bin/troff",
  2234. "bin/tshark",
  2235. "bin/ul",
  2236. "bin/uname",
  2237. "bin/uncompress",
  2238. "bin/unexpand",
  2239. "bin/uniq",
  2240. "bin/unlz4",
  2241. "bin/unlzma",
  2242. "bin/unpigz",
  2243. "bin/unrar",
  2244. "bin/unshare",
  2245. "bin/unxz",
  2246. "bin/unzip",
  2247. "bin/unzstd",
  2248. "bin/update-alternatives",
  2249. "bin/uudecode",
  2250. "bin/uuencode",
  2251. "bin/valgrind",
  2252. "bin/vi",
  2253. "bin/view",
  2254. "bin/vigr",
  2255. "bin/vim",
  2256. "bin/vimdiff",
  2257. "bin/vipw",
  2258. "bin/virsh",
  2259. "bin/volatility",
  2260. "bin/wall",
  2261. "bin/watch",
  2262. "bin/wc",
  2263. "bin/wget",
  2264. "bin/whiptail",
  2265. "bin/who",
  2266. "bin/whoami",
  2267. "bin/whois",
  2268. "bin/wireshark",
  2269. "bin/wish",
  2270. "bin/xargs",
  2271. "bin/xelatex",
  2272. "bin/xetex",
  2273. "bin/xmodmap",
  2274. "bin/xmore",
  2275. "bin/xpad",
  2276. "bin/xxd",
  2277. "bin/xz",
  2278. "bin/xzcat",
  2279. "bin/xzcmp",
  2280. "bin/xzdec",
  2281. "bin/xzdiff",
  2282. "bin/xzegrep",
  2283. "bin/xzfgrep",
  2284. "bin/xzgrep",
  2285. "bin/xzless",
  2286. "bin/xzmore",
  2287. "bin/yarn",
  2288. "bin/yelp",
  2289. "bin/yes",
  2290. "bin/yum",
  2291. "bin/zathura",
  2292. "bin/zip",
  2293. "bin/zipcloak",
  2294. "bin/zipcmp",
  2295. "bin/zipdetails",
  2296. "bin/zipgrep",
  2297. "bin/zipinfo",
  2298. "bin/zipmerge",
  2299. "bin/zipnote",
  2300. "bin/zipsplit",
  2301. "bin/ziptool",
  2302. "bin/zsh",
  2303. "bin/zsoelim",
  2304. "bin/zstd",
  2305. "bin/zstdcat",
  2306. "bin/zstdgrep",
  2307. "bin/zstdless",
  2308. "bin/zstdmt",
  2309. "bin/zypper"
  2310. ]
  2311. },
  2312. "operator": "phrase_match"
  2313. }
  2314. ],
  2315. "transformers": [
  2316. "lowercase"
  2317. ]
  2318. },
  2319. {
  2320. "id": "crs-932-171",
  2321. "name": "Remote Command Execution: Shellshock (CVE-2014-6271)",
  2322. "tags": {
  2323. "type": "command_injection",
  2324. "crs_id": "932171",
  2325. "category": "attack_attempt"
  2326. },
  2327. "conditions": [
  2328. {
  2329. "parameters": {
  2330. "inputs": [
  2331. {
  2332. "address": "server.request.query"
  2333. },
  2334. {
  2335. "address": "server.request.body"
  2336. },
  2337. {
  2338. "address": "server.request.path_params"
  2339. },
  2340. {
  2341. "address": "server.request.headers.no_cookies"
  2342. },
  2343. {
  2344. "address": "grpc.server.request.message"
  2345. }
  2346. ],
  2347. "regex": "^\\(\\s*\\)\\s+{",
  2348. "options": {
  2349. "case_sensitive": true,
  2350. "min_length": 4
  2351. }
  2352. },
  2353. "operator": "match_regex"
  2354. }
  2355. ],
  2356. "transformers": []
  2357. },
  2358. {
  2359. "id": "crs-932-180",
  2360. "name": "Restricted File Upload Attempt",
  2361. "tags": {
  2362. "type": "command_injection",
  2363. "crs_id": "932180",
  2364. "category": "attack_attempt"
  2365. },
  2366. "conditions": [
  2367. {
  2368. "parameters": {
  2369. "inputs": [
  2370. {
  2371. "address": "server.request.headers.no_cookies",
  2372. "key_path": [
  2373. "x-filename"
  2374. ]
  2375. },
  2376. {
  2377. "address": "server.request.headers.no_cookies",
  2378. "key_path": [
  2379. "x_filename"
  2380. ]
  2381. },
  2382. {
  2383. "address": "server.request.headers.no_cookies",
  2384. "key_path": [
  2385. "x-file-name"
  2386. ]
  2387. }
  2388. ],
  2389. "list": [
  2390. ".htaccess",
  2391. ".htdigest",
  2392. ".htpasswd",
  2393. "wp-config.php",
  2394. "config.yml",
  2395. "config_dev.yml",
  2396. "config_prod.yml",
  2397. "config_test.yml",
  2398. "parameters.yml",
  2399. "routing.yml",
  2400. "security.yml",
  2401. "services.yml",
  2402. "default.settings.php",
  2403. "settings.php",
  2404. "settings.local.php",
  2405. "local.xml",
  2406. ".env"
  2407. ]
  2408. },
  2409. "operator": "phrase_match"
  2410. }
  2411. ],
  2412. "transformers": [
  2413. "lowercase"
  2414. ]
  2415. },
  2416. {
  2417. "id": "crs-933-111",
  2418. "name": "PHP Injection Attack: PHP Script File Upload Found",
  2419. "tags": {
  2420. "type": "unrestricted_file_upload",
  2421. "crs_id": "933111",
  2422. "category": "attack_attempt"
  2423. },
  2424. "conditions": [
  2425. {
  2426. "parameters": {
  2427. "inputs": [
  2428. {
  2429. "address": "server.request.headers.no_cookies",
  2430. "key_path": [
  2431. "x-filename"
  2432. ]
  2433. },
  2434. {
  2435. "address": "server.request.headers.no_cookies",
  2436. "key_path": [
  2437. "x_filename"
  2438. ]
  2439. },
  2440. {
  2441. "address": "server.request.headers.no_cookies",
  2442. "key_path": [
  2443. "x.filename"
  2444. ]
  2445. },
  2446. {
  2447. "address": "server.request.headers.no_cookies",
  2448. "key_path": [
  2449. "x-file-name"
  2450. ]
  2451. }
  2452. ],
  2453. "regex": ".*\\.(?:php\\d*|phtml)\\..*$",
  2454. "options": {
  2455. "case_sensitive": true,
  2456. "min_length": 5
  2457. }
  2458. },
  2459. "operator": "match_regex"
  2460. }
  2461. ],
  2462. "transformers": [
  2463. "lowercase"
  2464. ]
  2465. },
  2466. {
  2467. "id": "crs-933-130",
  2468. "name": "PHP Injection Attack: Global Variables Found",
  2469. "tags": {
  2470. "type": "php_code_injection",
  2471. "crs_id": "933130",
  2472. "category": "attack_attempt"
  2473. },
  2474. "conditions": [
  2475. {
  2476. "parameters": {
  2477. "inputs": [
  2478. {
  2479. "address": "server.request.query"
  2480. },
  2481. {
  2482. "address": "server.request.body"
  2483. },
  2484. {
  2485. "address": "server.request.path_params"
  2486. },
  2487. {
  2488. "address": "grpc.server.request.message"
  2489. }
  2490. ],
  2491. "list": [
  2492. "$globals",
  2493. "$_cookie",
  2494. "$_env",
  2495. "$_files",
  2496. "$_get",
  2497. "$_post",
  2498. "$_request",
  2499. "$_server",
  2500. "$_session",
  2501. "$argc",
  2502. "$argv",
  2503. "$http_\\u200bresponse_\\u200bheader",
  2504. "$php_\\u200berrormsg",
  2505. "$http_cookie_vars",
  2506. "$http_env_vars",
  2507. "$http_get_vars",
  2508. "$http_post_files",
  2509. "$http_post_vars",
  2510. "$http_raw_post_data",
  2511. "$http_request_vars",
  2512. "$http_server_vars"
  2513. ]
  2514. },
  2515. "operator": "phrase_match"
  2516. }
  2517. ],
  2518. "transformers": [
  2519. "lowercase"
  2520. ]
  2521. },
  2522. {
  2523. "id": "crs-933-131",
  2524. "name": "PHP Injection Attack: HTTP Headers Values Found",
  2525. "tags": {
  2526. "type": "php_code_injection",
  2527. "crs_id": "933131",
  2528. "category": "attack_attempt"
  2529. },
  2530. "conditions": [
  2531. {
  2532. "parameters": {
  2533. "inputs": [
  2534. {
  2535. "address": "server.request.query"
  2536. },
  2537. {
  2538. "address": "server.request.body"
  2539. },
  2540. {
  2541. "address": "server.request.path_params"
  2542. },
  2543. {
  2544. "address": "grpc.server.request.message"
  2545. }
  2546. ],
  2547. "regex": "(?:HTTP_(?:ACCEPT(?:_(?:ENCODING|LANGUAGE|CHARSET))?|(?:X_FORWARDED_FO|REFERE)R|(?:USER_AGEN|HOS)T|CONNECTION|KEEP_ALIVE)|PATH_(?:TRANSLATED|INFO)|ORIG_PATH_INFO|QUERY_STRING|REQUEST_URI|AUTH_TYPE)",
  2548. "options": {
  2549. "case_sensitive": true,
  2550. "min_length": 9
  2551. }
  2552. },
  2553. "operator": "match_regex"
  2554. }
  2555. ],
  2556. "transformers": []
  2557. },
  2558. {
  2559. "id": "crs-933-140",
  2560. "name": "PHP Injection Attack: I/O Stream Found",
  2561. "tags": {
  2562. "type": "php_code_injection",
  2563. "crs_id": "933140",
  2564. "category": "attack_attempt"
  2565. },
  2566. "conditions": [
  2567. {
  2568. "parameters": {
  2569. "inputs": [
  2570. {
  2571. "address": "server.request.query"
  2572. },
  2573. {
  2574. "address": "server.request.body"
  2575. },
  2576. {
  2577. "address": "server.request.path_params"
  2578. },
  2579. {
  2580. "address": "grpc.server.request.message"
  2581. }
  2582. ],
  2583. "regex": "php://(?:std(?:in|out|err)|(?:in|out)put|fd|memory|temp|filter)",
  2584. "options": {
  2585. "min_length": 8
  2586. }
  2587. },
  2588. "operator": "match_regex"
  2589. }
  2590. ],
  2591. "transformers": []
  2592. },
  2593. {
  2594. "id": "crs-933-150",
  2595. "name": "PHP Injection Attack: High-Risk PHP Function Name Found",
  2596. "tags": {
  2597. "type": "php_code_injection",
  2598. "crs_id": "933150",
  2599. "category": "attack_attempt"
  2600. },
  2601. "conditions": [
  2602. {
  2603. "parameters": {
  2604. "inputs": [
  2605. {
  2606. "address": "server.request.query"
  2607. },
  2608. {
  2609. "address": "server.request.body"
  2610. },
  2611. {
  2612. "address": "server.request.path_params"
  2613. },
  2614. {
  2615. "address": "grpc.server.request.message"
  2616. }
  2617. ],
  2618. "list": [
  2619. "__halt_compiler",
  2620. "apache_child_terminate",
  2621. "base64_decode",
  2622. "bzdecompress",
  2623. "call_user_func",
  2624. "call_user_func_array",
  2625. "call_user_method",
  2626. "call_user_method_array",
  2627. "convert_uudecode",
  2628. "file_get_contents",
  2629. "file_put_contents",
  2630. "fsockopen",
  2631. "get_class_methods",
  2632. "get_class_vars",
  2633. "get_defined_constants",
  2634. "get_defined_functions",
  2635. "get_defined_vars",
  2636. "gzdecode",
  2637. "gzinflate",
  2638. "gzuncompress",
  2639. "include_once",
  2640. "invokeargs",
  2641. "pcntl_exec",
  2642. "pcntl_fork",
  2643. "pfsockopen",
  2644. "posix_getcwd",
  2645. "posix_getpwuid",
  2646. "posix_getuid",
  2647. "posix_uname",
  2648. "reflectionfunction",
  2649. "require_once",
  2650. "shell_exec",
  2651. "str_rot13",
  2652. "sys_get_temp_dir",
  2653. "wp_remote_fopen",
  2654. "wp_remote_get",
  2655. "wp_remote_head",
  2656. "wp_remote_post",
  2657. "wp_remote_request",
  2658. "wp_safe_remote_get",
  2659. "wp_safe_remote_head",
  2660. "wp_safe_remote_post",
  2661. "wp_safe_remote_request",
  2662. "zlib_decode"
  2663. ]
  2664. },
  2665. "operator": "phrase_match"
  2666. }
  2667. ],
  2668. "transformers": [
  2669. "lowercase"
  2670. ]
  2671. },
  2672. {
  2673. "id": "crs-933-160",
  2674. "name": "PHP Injection Attack: High-Risk PHP Function Call Found",
  2675. "tags": {
  2676. "type": "php_code_injection",
  2677. "crs_id": "933160",
  2678. "category": "attack_attempt"
  2679. },
  2680. "conditions": [
  2681. {
  2682. "parameters": {
  2683. "inputs": [
  2684. {
  2685. "address": "server.request.query"
  2686. },
  2687. {
  2688. "address": "server.request.body"
  2689. },
  2690. {
  2691. "address": "server.request.path_params"
  2692. },
  2693. {
  2694. "address": "grpc.server.request.message"
  2695. }
  2696. ],
  2697. "regex": "\\b(?:s(?:e(?:t(?:_(?:e(?:xception|rror)_handler|magic_quotes_runtime|include_path)|defaultstub)|ssion_s(?:et_save_handler|tart))|qlite_(?:(?:(?:unbuffered|single|array)_)?query|create_(?:aggregate|function)|p?open|exec)|tr(?:eam_(?:context_create|socket_client)|ipc?slashes|rev)|implexml_load_(?:string|file)|ocket_c(?:onnect|reate)|h(?:ow_sourc|a1_fil)e|pl_autoload_register|ystem)|p(?:r(?:eg_(?:replace(?:_callback(?:_array)?)?|match(?:_all)?|split)|oc_(?:(?:terminat|clos|nic)e|get_status|open)|int_r)|o(?:six_(?:get(?:(?:e[gu]|g)id|login|pwnam)|mk(?:fifo|nod)|ttyname|kill)|pen)|hp(?:_(?:strip_whitespac|unam)e|version|info)|g_(?:(?:execut|prepar)e|connect|query)|a(?:rse_(?:ini_file|str)|ssthru)|utenv)|r(?:unkit_(?:function_(?:re(?:defin|nam)e|copy|add)|method_(?:re(?:defin|nam)e|copy|add)|constant_(?:redefine|add))|e(?:(?:gister_(?:shutdown|tick)|name)_function|ad(?:(?:gz)?file|_exif_data|dir))|awurl(?:de|en)code)|i(?:mage(?:createfrom(?:(?:jpe|pn)g|x[bp]m|wbmp|gif)|(?:jpe|pn)g|g(?:d2?|if)|2?wbmp|xbm)|s_(?:(?:(?:execut|write?|read)ab|fi)le|dir)|ni_(?:get(?:_all)?|set)|terator_apply|ptcembed)|g(?:et(?:_(?:c(?:urrent_use|fg_va)r|meta_tags)|my(?:[gpu]id|inode)|(?:lastmo|cw)d|imagesize|env)|z(?:(?:(?:defla|wri)t|encod|fil)e|compress|open|read)|lob)|a(?:rray_(?:u(?:intersect(?:_u?assoc)?|diff(?:_u?assoc)?)|intersect_u(?:assoc|key)|diff_u(?:assoc|key)|filter|reduce|map)|ssert(?:_options)?|lert|tob)|h(?:tml(?:specialchars(?:_decode)?|_entity_decode|entities)|(?:ash(?:_(?:update|hmac))?|ighlight)_file|e(?:ader_register_callback|x2bin))|f(?:i(?:le(?:(?:[acm]tim|inod)e|(?:_exist|perm)s|group)?|nfo_open)|tp_(?:nb_(?:ge|pu)|connec|ge|pu)t|(?:unction_exis|pu)ts|write|open)|o(?:b_(?:get_(?:c(?:ontents|lean)|flush)|end_(?:clean|flush)|clean|flush|start)|dbc_(?:result(?:_all)?|exec(?:ute)?|connect)|pendir)|m(?:b_(?:ereg(?:_(?:replace(?:_callback)?|match)|i(?:_replace)?)?|parse_str)|(?:ove_uploaded|d5)_file|ethod_exists|ysql_query|kdir)|e(?:x(?:if_(?:t(?:humbnail|agname)|imagetype|read_data)|ec)|scapeshell(?:arg|cmd)|rror_reporting|val)|c(?:url_(?:file_create|exec|init)|onvert_uuencode|reate_function|hr)|u(?:n(?:serialize|pack)|rl(?:de|en)code|[ak]?sort)|b(?:(?:son_(?:de|en)|ase64_en)code|zopen|toa)|(?:json_(?:de|en)cod|debug_backtrac|tmpfil)e|var_dump)(?:\\s|/\\*.*\\*/|//.*|#.*|\\\"|')*\\((?:(?:\\s|/\\*.*\\*/|//.*|#.*)*(?:\\$\\w+|[A-Z\\d]\\w*|\\w+\\(.*\\)|\\\\?\"(?:[^\"]|\\\\\"|\"\"|\"\\+\")*\\\\?\"|\\\\?'(?:[^']|''|'\\+')*\\\\?')(?:\\s|/\\*.*\\*/|//.*|#.*)*(?:(?:::|\\.|->)(?:\\s|/\\*.*\\*/|//.*|#.*)*\\w+(?:\\(.*\\))?)?,)*(?:(?:\\s|/\\*.*\\*/|//.*|#.*)*(?:\\$\\w+|[A-Z\\d]\\w*|\\w+\\(.*\\)|\\\\?\"(?:[^\"]|\\\\\"|\"\"|\"\\+\")*\\\\?\"|\\\\?'(?:[^']|''|'\\+')*\\\\?')(?:\\s|/\\*.*\\*/|//.*|#.*)*(?:(?:::|\\.|->)(?:\\s|/\\*.*\\*/|//.*|#.*)*\\w+(?:\\(.*\\))?)?)?\\)",
  2698. "options": {
  2699. "case_sensitive": true,
  2700. "min_length": 5
  2701. }
  2702. },
  2703. "operator": "match_regex"
  2704. }
  2705. ],
  2706. "transformers": []
  2707. },
  2708. {
  2709. "id": "crs-933-170",
  2710. "name": "PHP Injection Attack: Serialized Object Injection",
  2711. "tags": {
  2712. "type": "php_code_injection",
  2713. "crs_id": "933170",
  2714. "category": "attack_attempt"
  2715. },
  2716. "conditions": [
  2717. {
  2718. "parameters": {
  2719. "inputs": [
  2720. {
  2721. "address": "server.request.headers.no_cookies"
  2722. },
  2723. {
  2724. "address": "server.request.query"
  2725. },
  2726. {
  2727. "address": "server.request.body"
  2728. },
  2729. {
  2730. "address": "server.request.path_params"
  2731. },
  2732. {
  2733. "address": "grpc.server.request.message"
  2734. }
  2735. ],
  2736. "regex": "[oOcC]:\\d+:\\\".+?\\\":\\d+:{[\\W\\w]*}",
  2737. "options": {
  2738. "case_sensitive": true,
  2739. "min_length": 12
  2740. }
  2741. },
  2742. "operator": "match_regex"
  2743. }
  2744. ],
  2745. "transformers": []
  2746. },
  2747. {
  2748. "id": "crs-933-200",
  2749. "name": "PHP Injection Attack: Wrapper scheme detected",
  2750. "tags": {
  2751. "type": "php_code_injection",
  2752. "crs_id": "933200",
  2753. "category": "attack_attempt"
  2754. },
  2755. "conditions": [
  2756. {
  2757. "parameters": {
  2758. "inputs": [
  2759. {
  2760. "address": "server.request.query"
  2761. },
  2762. {
  2763. "address": "server.request.body"
  2764. },
  2765. {
  2766. "address": "server.request.path_params"
  2767. },
  2768. {
  2769. "address": "grpc.server.request.message"
  2770. }
  2771. ],
  2772. "regex": "(?:(?:bzip|ssh)2|z(?:lib|ip)|(?:ph|r)ar|expect|glob|ogg)://",
  2773. "options": {
  2774. "case_sensitive": true,
  2775. "min_length": 6
  2776. }
  2777. },
  2778. "operator": "match_regex"
  2779. }
  2780. ],
  2781. "transformers": [
  2782. "removeNulls"
  2783. ]
  2784. },
  2785. {
  2786. "id": "crs-934-100",
  2787. "name": "Node.js Injection Attack 1/2",
  2788. "tags": {
  2789. "type": "js_code_injection",
  2790. "crs_id": "934100",
  2791. "category": "attack_attempt"
  2792. },
  2793. "conditions": [
  2794. {
  2795. "parameters": {
  2796. "inputs": [
  2797. {
  2798. "address": "server.request.query"
  2799. },
  2800. {
  2801. "address": "server.request.body"
  2802. },
  2803. {
  2804. "address": "server.request.path_params"
  2805. },
  2806. {
  2807. "address": "grpc.server.request.message"
  2808. }
  2809. ],
  2810. "regex": "\\b(?:(?:l(?:(?:utimes|chmod)(?:Sync)?|(?:stat|ink)Sync)|w(?:rite(?:(?:File|v)(?:Sync)?|Sync)|atchFile)|u(?:n(?:watchFile|linkSync)|times(?:Sync)?)|s(?:(?:ymlink|tat)Sync|pawn(?:File|Sync))|ex(?:ec(?:File(?:Sync)?|Sync)|istsSync)|a(?:ppendFile|ccess)(?:Sync)?|(?:Caveat|Inode)s|open(?:dir)?Sync|new\\s+Function|Availability|\\beval)\\s*\\(|m(?:ain(?:Module\\s*(?:\\W*\\s*(?:constructor|require)|\\[)|\\s*(?:\\W*\\s*(?:constructor|require)|\\[))|kd(?:temp(?:Sync)?|irSync)\\s*\\(|odule\\.exports\\s*=)|c(?:(?:(?:h(?:mod|own)|lose)Sync|reate(?:Write|Read)Stream|p(?:Sync)?)\\s*\\(|o(?:nstructor\\s*(?:\\W*\\s*_load|\\[)|pyFile(?:Sync)?\\s*\\())|f(?:(?:(?:s(?:(?:yncS)?|tatS)|datas(?:yncS)?)ync|ch(?:mod|own)(?:Sync)?)\\s*\\(|u(?:nction\\s*\\(\\s*\\)\\s*{|times(?:Sync)?\\s*\\())|r(?:e(?:(?:ad(?:(?:File|link|dir)?Sync|v(?:Sync)?)|nameSync)\\s*\\(|quire\\s*(?:\\W*\\s*main|\\[))|m(?:Sync)?\\s*\\()|process\\s*(?:\\W*\\s*(?:mainModule|binding)|\\[)|t(?:his\\.constructor|runcateSync\\s*\\()|_(?:\\$\\$ND_FUNC\\$\\$_|_js_function)|global\\s*(?:\\W*\\s*process|\\[)|String\\s*\\.\\s*fromCharCode|binding\\s*\\[)",
  2811. "options": {
  2812. "case_sensitive": true,
  2813. "min_length": 3
  2814. }
  2815. },
  2816. "operator": "match_regex"
  2817. }
  2818. ],
  2819. "transformers": []
  2820. },
  2821. {
  2822. "id": "crs-934-101",
  2823. "name": "Node.js Injection Attack 2/2",
  2824. "tags": {
  2825. "type": "js_code_injection",
  2826. "crs_id": "934101",
  2827. "category": "attack_attempt"
  2828. },
  2829. "conditions": [
  2830. {
  2831. "parameters": {
  2832. "inputs": [
  2833. {
  2834. "address": "server.request.query"
  2835. },
  2836. {
  2837. "address": "server.request.body"
  2838. },
  2839. {
  2840. "address": "server.request.path_params"
  2841. },
  2842. {
  2843. "address": "grpc.server.request.message"
  2844. }
  2845. ],
  2846. "regex": "\\b(?:w(?:atch|rite)|(?:spaw|ope)n|exists|close|fork|read)\\s*\\(",
  2847. "options": {
  2848. "case_sensitive": true,
  2849. "min_length": 5
  2850. }
  2851. },
  2852. "operator": "match_regex"
  2853. }
  2854. ],
  2855. "transformers": []
  2856. },
  2857. {
  2858. "id": "crs-941-110",
  2859. "name": "XSS Filter - Category 1: Script Tag Vector",
  2860. "tags": {
  2861. "type": "xss",
  2862. "crs_id": "941110",
  2863. "category": "attack_attempt"
  2864. },
  2865. "conditions": [
  2866. {
  2867. "parameters": {
  2868. "inputs": [
  2869. {
  2870. "address": "server.request.headers.no_cookies",
  2871. "key_path": [
  2872. "user-agent"
  2873. ]
  2874. },
  2875. {
  2876. "address": "server.request.headers.no_cookies",
  2877. "key_path": [
  2878. "referer"
  2879. ]
  2880. },
  2881. {
  2882. "address": "server.request.query"
  2883. },
  2884. {
  2885. "address": "server.request.body"
  2886. },
  2887. {
  2888. "address": "server.request.path_params"
  2889. },
  2890. {
  2891. "address": "grpc.server.request.message"
  2892. }
  2893. ],
  2894. "regex": "<script[^>]*>[\\s\\S]*?",
  2895. "options": {
  2896. "min_length": 8
  2897. }
  2898. },
  2899. "operator": "match_regex"
  2900. }
  2901. ],
  2902. "transformers": [
  2903. "removeNulls"
  2904. ]
  2905. },
  2906. {
  2907. "id": "crs-941-120",
  2908. "name": "XSS Filter - Category 2: Event Handler Vector",
  2909. "tags": {
  2910. "type": "xss",
  2911. "crs_id": "941120",
  2912. "category": "attack_attempt"
  2913. },
  2914. "conditions": [
  2915. {
  2916. "parameters": {
  2917. "inputs": [
  2918. {
  2919. "address": "server.request.headers.no_cookies",
  2920. "key_path": [
  2921. "user-agent"
  2922. ]
  2923. },
  2924. {
  2925. "address": "server.request.headers.no_cookies",
  2926. "key_path": [
  2927. "referer"
  2928. ]
  2929. },
  2930. {
  2931. "address": "server.request.query"
  2932. },
  2933. {
  2934. "address": "server.request.body"
  2935. },
  2936. {
  2937. "address": "server.request.path_params"
  2938. },
  2939. {
  2940. "address": "grpc.server.request.message"
  2941. }
  2942. ],
  2943. "regex": "[\\s\\\"'`;\\/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on(?:d(?:r(?:ag(?:en(?:ter|d)|leave|start|over)?|op)|urationchange|blclick)|s(?:e(?:ek(?:ing|ed)|arch|lect)|u(?:spend|bmit)|talled|croll|how)|m(?:ouse(?:(?:lea|mo)ve|o(?:ver|ut)|enter|down|up)|essage)|p(?:a(?:ge(?:hide|show)|(?:st|us)e)|lay(?:ing)?|rogress)|c(?:anplay(?:through)?|o(?:ntextmenu|py)|hange|lick|ut)|a(?:nimation(?:iteration|start|end)|(?:fterprin|bor)t)|t(?:o(?:uch(?:cancel|start|move|end)|ggle)|imeupdate)|f(?:ullscreen(?:change|error)|ocus(?:out|in)?)|(?:(?:volume|hash)chang|o(?:ff|n)lin)e|b(?:efore(?:unload|print)|lur)|load(?:ed(?:meta)?data|start)?|r(?:es(?:ize|et)|atechange)|key(?:press|down|up)|w(?:aiting|heel)|in(?:valid|put)|e(?:nded|rror)|unload)[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=[^=]",
  2944. "options": {
  2945. "min_length": 8
  2946. }
  2947. },
  2948. "operator": "match_regex"
  2949. }
  2950. ],
  2951. "transformers": [
  2952. "removeNulls"
  2953. ]
  2954. },
  2955. {
  2956. "id": "crs-941-140",
  2957. "name": "XSS Filter - Category 4: Javascript URI Vector",
  2958. "tags": {
  2959. "type": "xss",
  2960. "crs_id": "941140",
  2961. "category": "attack_attempt"
  2962. },
  2963. "conditions": [
  2964. {
  2965. "parameters": {
  2966. "inputs": [
  2967. {
  2968. "address": "server.request.headers.no_cookies",
  2969. "key_path": [
  2970. "user-agent"
  2971. ]
  2972. },
  2973. {
  2974. "address": "server.request.headers.no_cookies",
  2975. "key_path": [
  2976. "referer"
  2977. ]
  2978. },
  2979. {
  2980. "address": "server.request.query"
  2981. },
  2982. {
  2983. "address": "server.request.body"
  2984. },
  2985. {
  2986. "address": "server.request.path_params"
  2987. },
  2988. {
  2989. "address": "grpc.server.request.message"
  2990. }
  2991. ],
  2992. "regex": "[a-z]+=(?:[^:=]+:.+;)*?[^:=]+:url\\(javascript",
  2993. "options": {
  2994. "min_length": 18
  2995. }
  2996. },
  2997. "operator": "match_regex"
  2998. }
  2999. ],
  3000. "transformers": [
  3001. "removeNulls"
  3002. ]
  3003. },
  3004. {
  3005. "id": "crs-941-170",
  3006. "name": "NoScript XSS InjectionChecker: Attribute Injection",
  3007. "tags": {
  3008. "type": "xss",
  3009. "crs_id": "941170",
  3010. "category": "attack_attempt"
  3011. },
  3012. "conditions": [
  3013. {
  3014. "parameters": {
  3015. "inputs": [
  3016. {
  3017. "address": "server.request.headers.no_cookies",
  3018. "key_path": [
  3019. "user-agent"
  3020. ]
  3021. },
  3022. {
  3023. "address": "server.request.headers.no_cookies",
  3024. "key_path": [
  3025. "referer"
  3026. ]
  3027. },
  3028. {
  3029. "address": "server.request.query"
  3030. },
  3031. {
  3032. "address": "server.request.body"
  3033. },
  3034. {
  3035. "address": "server.request.path_params"
  3036. }
  3037. ],
  3038. "regex": "(?:\\W|^)(?:javascript:(?:[\\s\\S]+[=\\x5c\\(\\[\\.<]|[\\s\\S]*?(?:\\bname\\b|\\x5c[ux]\\d)))|@\\W*?i\\W*?m\\W*?p\\W*?o\\W*?r\\W*?t\\W*?(?:/\\*[\\s\\S]*?)?(?:[\\\"']|\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\()|[^-]*?-\\W*?m\\W*?o\\W*?z\\W*?-\\W*?b\\W*?i\\W*?n\\W*?d\\W*?i\\W*?n\\W*?g[^:]*?:\\W*?u\\W*?r\\W*?l[\\s\\S]*?\\(",
  3039. "options": {
  3040. "min_length": 6
  3041. }
  3042. },
  3043. "operator": "match_regex"
  3044. }
  3045. ],
  3046. "transformers": [
  3047. "removeNulls"
  3048. ]
  3049. },
  3050. {
  3051. "id": "crs-941-180",
  3052. "name": "Node-Validator Deny List Keywords",
  3053. "tags": {
  3054. "type": "xss",
  3055. "crs_id": "941180",
  3056. "category": "attack_attempt"
  3057. },
  3058. "conditions": [
  3059. {
  3060. "parameters": {
  3061. "inputs": [
  3062. {
  3063. "address": "server.request.query"
  3064. },
  3065. {
  3066. "address": "server.request.body"
  3067. },
  3068. {
  3069. "address": "server.request.path_params"
  3070. },
  3071. {
  3072. "address": "grpc.server.request.message"
  3073. }
  3074. ],
  3075. "list": [
  3076. "document.cookie",
  3077. "document.write",
  3078. ".parentnode",
  3079. ".innerhtml",
  3080. "window.location",
  3081. "-moz-binding",
  3082. "<![cdata["
  3083. ]
  3084. },
  3085. "operator": "phrase_match"
  3086. }
  3087. ],
  3088. "transformers": [
  3089. "removeNulls",
  3090. "lowercase"
  3091. ]
  3092. },
  3093. {
  3094. "id": "crs-941-200",
  3095. "name": "IE XSS Filters - Attack Detected via vmlframe tag",
  3096. "tags": {
  3097. "type": "xss",
  3098. "crs_id": "941200",
  3099. "category": "attack_attempt"
  3100. },
  3101. "conditions": [
  3102. {
  3103. "parameters": {
  3104. "inputs": [
  3105. {
  3106. "address": "server.request.query"
  3107. },
  3108. {
  3109. "address": "server.request.body"
  3110. },
  3111. {
  3112. "address": "server.request.path_params"
  3113. },
  3114. {
  3115. "address": "grpc.server.request.message"
  3116. }
  3117. ],
  3118. "regex": "(?i:<.*[:]?vmlframe.*?[\\s/+]*?src[\\s/+]*=)",
  3119. "options": {
  3120. "case_sensitive": true,
  3121. "min_length": 13
  3122. }
  3123. },
  3124. "operator": "match_regex"
  3125. }
  3126. ],
  3127. "transformers": [
  3128. "removeNulls"
  3129. ]
  3130. },
  3131. {
  3132. "id": "crs-941-210",
  3133. "name": "IE XSS Filters - Obfuscated Attack Detected via javascript injection",
  3134. "tags": {
  3135. "type": "xss",
  3136. "crs_id": "941210",
  3137. "category": "attack_attempt"
  3138. },
  3139. "conditions": [
  3140. {
  3141. "parameters": {
  3142. "inputs": [
  3143. {
  3144. "address": "server.request.query"
  3145. },
  3146. {
  3147. "address": "server.request.body"
  3148. },
  3149. {
  3150. "address": "server.request.path_params"
  3151. },
  3152. {
  3153. "address": "grpc.server.request.message"
  3154. }
  3155. ],
  3156. "regex": "(?i:(?:j|&#x?0*(?:74|4A|106|6A);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:a|&#x?0*(?:65|41|97|61);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:v|&#x?0*(?:86|56|118|76);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:a|&#x?0*(?:65|41|97|61);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:s|&#x?0*(?:83|53|115|73);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:c|&#x?0*(?:67|43|99|63);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:r|&#x?0*(?:82|52|114|72);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:i|&#x?0*(?:73|49|105|69);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:p|&#x?0*(?:80|50|112|70);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:t|&#x?0*(?:84|54|116|74);?)(?:\\t|\\n|\\r|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?::|&(?:#x?0*(?:58|3A);?|colon;)).)",
  3157. "options": {
  3158. "case_sensitive": true,
  3159. "min_length": 12
  3160. }
  3161. },
  3162. "operator": "match_regex"
  3163. }
  3164. ],
  3165. "transformers": [
  3166. "removeNulls"
  3167. ]
  3168. },
  3169. {
  3170. "id": "crs-941-220",
  3171. "name": "IE XSS Filters - Obfuscated Attack Detected via vbscript injection",
  3172. "tags": {
  3173. "type": "xss",
  3174. "crs_id": "941220",
  3175. "category": "attack_attempt"
  3176. },
  3177. "conditions": [
  3178. {
  3179. "parameters": {
  3180. "inputs": [
  3181. {
  3182. "address": "server.request.query"
  3183. },
  3184. {
  3185. "address": "server.request.body"
  3186. },
  3187. {
  3188. "address": "server.request.path_params"
  3189. },
  3190. {
  3191. "address": "grpc.server.request.message"
  3192. }
  3193. ],
  3194. "regex": "(?i:(?:v|&#x?0*(?:86|56|118|76);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:b|&#x?0*(?:66|42|98|62);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:s|&#x?0*(?:83|53|115|73);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:c|&#x?0*(?:67|43|99|63);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:r|&#x?0*(?:82|52|114|72);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:i|&#x?0*(?:73|49|105|69);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:p|&#x?0*(?:80|50|112|70);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?:t|&#x?0*(?:84|54|116|74);?)(?:\\t|&(?:#x?0*(?:9|13|10|A|D);?|tab;|newline;))*(?::|&(?:#x?0*(?:58|3A);?|colon;)).)",
  3195. "options": {
  3196. "case_sensitive": true,
  3197. "min_length": 10
  3198. }
  3199. },
  3200. "operator": "match_regex"
  3201. }
  3202. ],
  3203. "transformers": [
  3204. "removeNulls"
  3205. ]
  3206. },
  3207. {
  3208. "id": "crs-941-230",
  3209. "name": "IE XSS Filters - Attack Detected via embed tag",
  3210. "tags": {
  3211. "type": "xss",
  3212. "crs_id": "941230",
  3213. "category": "attack_attempt"
  3214. },
  3215. "conditions": [
  3216. {
  3217. "parameters": {
  3218. "inputs": [
  3219. {
  3220. "address": "server.request.query"
  3221. },
  3222. {
  3223. "address": "server.request.body"
  3224. },
  3225. {
  3226. "address": "server.request.path_params"
  3227. },
  3228. {
  3229. "address": "grpc.server.request.message"
  3230. }
  3231. ],
  3232. "regex": "<EMBED[\\s/+].*?(?:src|type).*?=",
  3233. "options": {
  3234. "min_length": 11
  3235. }
  3236. },
  3237. "operator": "match_regex"
  3238. }
  3239. ],
  3240. "transformers": [
  3241. "removeNulls"
  3242. ]
  3243. },
  3244. {
  3245. "id": "crs-941-240",
  3246. "name": "IE XSS Filters - Attack Detected via import tag",
  3247. "tags": {
  3248. "type": "xss",
  3249. "crs_id": "941240",
  3250. "category": "attack_attempt"
  3251. },
  3252. "conditions": [
  3253. {
  3254. "parameters": {
  3255. "inputs": [
  3256. {
  3257. "address": "server.request.query"
  3258. },
  3259. {
  3260. "address": "server.request.body"
  3261. },
  3262. {
  3263. "address": "server.request.path_params"
  3264. },
  3265. {
  3266. "address": "grpc.server.request.message"
  3267. }
  3268. ],
  3269. "regex": "<[?]?import[\\s/+\\S]*?implementation[\\s/+]*?=",
  3270. "options": {
  3271. "case_sensitive": true,
  3272. "min_length": 22
  3273. }
  3274. },
  3275. "operator": "match_regex"
  3276. }
  3277. ],
  3278. "transformers": [
  3279. "lowercase",
  3280. "removeNulls"
  3281. ]
  3282. },
  3283. {
  3284. "id": "crs-941-270",
  3285. "name": "IE XSS Filters - Attack Detected via link tag",
  3286. "tags": {
  3287. "type": "xss",
  3288. "crs_id": "941270",
  3289. "category": "attack_attempt"
  3290. },
  3291. "conditions": [
  3292. {
  3293. "parameters": {
  3294. "inputs": [
  3295. {
  3296. "address": "server.request.query"
  3297. },
  3298. {
  3299. "address": "server.request.body"
  3300. },
  3301. {
  3302. "address": "server.request.path_params"
  3303. },
  3304. {
  3305. "address": "grpc.server.request.message"
  3306. }
  3307. ],
  3308. "regex": "<LINK[\\s/+].*?href[\\s/+]*=",
  3309. "options": {
  3310. "min_length": 11
  3311. }
  3312. },
  3313. "operator": "match_regex"
  3314. }
  3315. ],
  3316. "transformers": [
  3317. "removeNulls"
  3318. ]
  3319. },
  3320. {
  3321. "id": "crs-941-280",
  3322. "name": "IE XSS Filters - Attack Detected via base tag",
  3323. "tags": {
  3324. "type": "xss",
  3325. "crs_id": "941280",
  3326. "category": "attack_attempt"
  3327. },
  3328. "conditions": [
  3329. {
  3330. "parameters": {
  3331. "inputs": [
  3332. {
  3333. "address": "server.request.query"
  3334. },
  3335. {
  3336. "address": "server.request.body"
  3337. },
  3338. {
  3339. "address": "server.request.path_params"
  3340. },
  3341. {
  3342. "address": "grpc.server.request.message"
  3343. }
  3344. ],
  3345. "regex": "<BASE[\\s/+].*?href[\\s/+]*=",
  3346. "options": {
  3347. "min_length": 11
  3348. }
  3349. },
  3350. "operator": "match_regex"
  3351. }
  3352. ],
  3353. "transformers": [
  3354. "removeNulls"
  3355. ]
  3356. },
  3357. {
  3358. "id": "crs-941-290",
  3359. "name": "IE XSS Filters - Attack Detected via applet tag",
  3360. "tags": {
  3361. "type": "xss",
  3362. "crs_id": "941290",
  3363. "category": "attack_attempt"
  3364. },
  3365. "conditions": [
  3366. {
  3367. "parameters": {
  3368. "inputs": [
  3369. {
  3370. "address": "server.request.query"
  3371. },
  3372. {
  3373. "address": "server.request.body"
  3374. },
  3375. {
  3376. "address": "server.request.path_params"
  3377. },
  3378. {
  3379. "address": "grpc.server.request.message"
  3380. }
  3381. ],
  3382. "regex": "<APPLET[\\s/+>]",
  3383. "options": {
  3384. "min_length": 8
  3385. }
  3386. },
  3387. "operator": "match_regex"
  3388. }
  3389. ],
  3390. "transformers": [
  3391. "removeNulls"
  3392. ]
  3393. },
  3394. {
  3395. "id": "crs-941-300",
  3396. "name": "IE XSS Filters - Attack Detected via object tag",
  3397. "tags": {
  3398. "type": "xss",
  3399. "crs_id": "941300",
  3400. "category": "attack_attempt"
  3401. },
  3402. "conditions": [
  3403. {
  3404. "parameters": {
  3405. "inputs": [
  3406. {
  3407. "address": "server.request.query"
  3408. },
  3409. {
  3410. "address": "server.request.body"
  3411. },
  3412. {
  3413. "address": "server.request.path_params"
  3414. },
  3415. {
  3416. "address": "grpc.server.request.message"
  3417. }
  3418. ],
  3419. "regex": "<OBJECT[\\s/+].*?(?:type|codetype|classid|code|data)[\\s/+]*=",
  3420. "options": {
  3421. "min_length": 13
  3422. }
  3423. },
  3424. "operator": "match_regex"
  3425. }
  3426. ],
  3427. "transformers": [
  3428. "removeNulls"
  3429. ]
  3430. },
  3431. {
  3432. "id": "crs-941-350",
  3433. "name": "UTF-7 Encoding IE XSS - Attack Detected",
  3434. "tags": {
  3435. "type": "xss",
  3436. "crs_id": "941350",
  3437. "category": "attack_attempt"
  3438. },
  3439. "conditions": [
  3440. {
  3441. "parameters": {
  3442. "inputs": [
  3443. {
  3444. "address": "server.request.query"
  3445. },
  3446. {
  3447. "address": "server.request.body"
  3448. },
  3449. {
  3450. "address": "server.request.path_params"
  3451. },
  3452. {
  3453. "address": "grpc.server.request.message"
  3454. }
  3455. ],
  3456. "regex": "\\+ADw-.*(?:\\+AD4-|>)|<.*\\+AD4-",
  3457. "options": {
  3458. "case_sensitive": true,
  3459. "min_length": 6
  3460. }
  3461. },
  3462. "operator": "match_regex"
  3463. }
  3464. ],
  3465. "transformers": []
  3466. },
  3467. {
  3468. "id": "crs-941-360",
  3469. "name": "JSFuck / Hieroglyphy obfuscation detected",
  3470. "tags": {
  3471. "type": "xss",
  3472. "crs_id": "941360",
  3473. "category": "attack_attempt"
  3474. },
  3475. "conditions": [
  3476. {
  3477. "parameters": {
  3478. "inputs": [
  3479. {
  3480. "address": "server.request.query"
  3481. },
  3482. {
  3483. "address": "server.request.body"
  3484. },
  3485. {
  3486. "address": "server.request.path_params"
  3487. },
  3488. {
  3489. "address": "grpc.server.request.message"
  3490. }
  3491. ],
  3492. "regex": "![!+ ]\\[\\]",
  3493. "options": {
  3494. "case_sensitive": true,
  3495. "min_length": 4
  3496. }
  3497. },
  3498. "operator": "match_regex"
  3499. }
  3500. ],
  3501. "transformers": []
  3502. },
  3503. {
  3504. "id": "crs-941-390",
  3505. "name": "Javascript method detected",
  3506. "tags": {
  3507. "type": "xss",
  3508. "crs_id": "941390",
  3509. "category": "attack_attempt"
  3510. },
  3511. "conditions": [
  3512. {
  3513. "parameters": {
  3514. "inputs": [
  3515. {
  3516. "address": "server.request.query"
  3517. },
  3518. {
  3519. "address": "server.request.body"
  3520. },
  3521. {
  3522. "address": "server.request.path_params"
  3523. },
  3524. {
  3525. "address": "grpc.server.request.message"
  3526. }
  3527. ],
  3528. "regex": "\\b(?i:eval|settimeout|setinterval|new\\s+Function|alert|prompt)\\s*\\([^\\)]",
  3529. "options": {
  3530. "case_sensitive": true,
  3531. "min_length": 5
  3532. }
  3533. },
  3534. "operator": "match_regex"
  3535. }
  3536. ],
  3537. "transformers": []
  3538. },
  3539. {
  3540. "id": "crs-942-100",
  3541. "name": "SQL Injection Attack Detected via libinjection",
  3542. "tags": {
  3543. "type": "sql_injection",
  3544. "crs_id": "942100",
  3545. "category": "attack_attempt"
  3546. },
  3547. "conditions": [
  3548. {
  3549. "parameters": {
  3550. "inputs": [
  3551. {
  3552. "address": "server.request.query"
  3553. },
  3554. {
  3555. "address": "server.request.body"
  3556. },
  3557. {
  3558. "address": "server.request.path_params"
  3559. },
  3560. {
  3561. "address": "grpc.server.request.message"
  3562. }
  3563. ]
  3564. },
  3565. "operator": "is_sqli"
  3566. }
  3567. ],
  3568. "transformers": [
  3569. "removeNulls"
  3570. ]
  3571. },
  3572. {
  3573. "id": "crs-942-160",
  3574. "name": "Detects blind sqli tests using sleep() or benchmark()",
  3575. "tags": {
  3576. "type": "sql_injection",
  3577. "crs_id": "942160",
  3578. "category": "attack_attempt"
  3579. },
  3580. "conditions": [
  3581. {
  3582. "parameters": {
  3583. "inputs": [
  3584. {
  3585. "address": "server.request.query"
  3586. },
  3587. {
  3588. "address": "server.request.body"
  3589. },
  3590. {
  3591. "address": "server.request.path_params"
  3592. },
  3593. {
  3594. "address": "grpc.server.request.message"
  3595. }
  3596. ],
  3597. "regex": "(?i:sleep\\(\\s*?\\d*?\\s*?\\)|benchmark\\(.*?\\,.*?\\))",
  3598. "options": {
  3599. "case_sensitive": true,
  3600. "min_length": 7
  3601. }
  3602. },
  3603. "operator": "match_regex"
  3604. }
  3605. ],
  3606. "transformers": []
  3607. },
  3608. {
  3609. "id": "crs-942-240",
  3610. "name": "Detects MySQL charset switch and MSSQL DoS attempts",
  3611. "tags": {
  3612. "type": "sql_injection",
  3613. "crs_id": "942240",
  3614. "category": "attack_attempt"
  3615. },
  3616. "conditions": [
  3617. {
  3618. "parameters": {
  3619. "inputs": [
  3620. {
  3621. "address": "server.request.query"
  3622. },
  3623. {
  3624. "address": "server.request.body"
  3625. },
  3626. {
  3627. "address": "server.request.path_params"
  3628. },
  3629. {
  3630. "address": "grpc.server.request.message"
  3631. }
  3632. ],
  3633. "regex": "(?:[\\\"'`](?:;*?\\s*?waitfor\\s+(?:delay|time)\\s+[\\\"'`]|;.*?:\\s*?goto)|alter\\s*?\\w+.*?cha(?:racte)?r\\s+set\\s+\\w+)",
  3634. "options": {
  3635. "min_length": 7
  3636. }
  3637. },
  3638. "operator": "match_regex"
  3639. }
  3640. ],
  3641. "transformers": []
  3642. },
  3643. {
  3644. "id": "crs-942-250",
  3645. "name": "Detects MATCH AGAINST, MERGE and EXECUTE IMMEDIATE injections",
  3646. "tags": {
  3647. "type": "sql_injection",
  3648. "crs_id": "942250",
  3649. "category": "attack_attempt"
  3650. },
  3651. "conditions": [
  3652. {
  3653. "parameters": {
  3654. "inputs": [
  3655. {
  3656. "address": "server.request.query"
  3657. },
  3658. {
  3659. "address": "server.request.body"
  3660. },
  3661. {
  3662. "address": "server.request.path_params"
  3663. },
  3664. {
  3665. "address": "grpc.server.request.message"
  3666. }
  3667. ],
  3668. "regex": "(?i:merge.*?using\\s*?\\(|execute\\s*?immediate\\s*?[\\\"'`]|match\\s*?[\\w(?:),+-]+\\s*?against\\s*?\\()",
  3669. "options": {
  3670. "case_sensitive": true,
  3671. "min_length": 11
  3672. }
  3673. },
  3674. "operator": "match_regex"
  3675. }
  3676. ],
  3677. "transformers": []
  3678. },
  3679. {
  3680. "id": "crs-942-270",
  3681. "name": "Basic SQL injection",
  3682. "tags": {
  3683. "type": "sql_injection",
  3684. "crs_id": "942270",
  3685. "category": "attack_attempt"
  3686. },
  3687. "conditions": [
  3688. {
  3689. "parameters": {
  3690. "inputs": [
  3691. {
  3692. "address": "server.request.query"
  3693. },
  3694. {
  3695. "address": "server.request.body"
  3696. },
  3697. {
  3698. "address": "server.request.path_params"
  3699. },
  3700. {
  3701. "address": "grpc.server.request.message"
  3702. }
  3703. ],
  3704. "regex": "union.*?select.*?from",
  3705. "options": {
  3706. "min_length": 15
  3707. }
  3708. },
  3709. "operator": "match_regex"
  3710. }
  3711. ],
  3712. "transformers": []
  3713. },
  3714. {
  3715. "id": "crs-942-280",
  3716. "name": "SQL Injection with delay functions",
  3717. "tags": {
  3718. "type": "sql_injection",
  3719. "crs_id": "942280",
  3720. "category": "attack_attempt"
  3721. },
  3722. "conditions": [
  3723. {
  3724. "parameters": {
  3725. "inputs": [
  3726. {
  3727. "address": "server.request.query"
  3728. },
  3729. {
  3730. "address": "server.request.body"
  3731. },
  3732. {
  3733. "address": "server.request.path_params"
  3734. },
  3735. {
  3736. "address": "grpc.server.request.message"
  3737. }
  3738. ],
  3739. "regex": "(?:;\\s*?shutdown\\s*?(?:[#;{]|\\/\\*|--)|waitfor\\s*?delay\\s?[\\\"'`]+\\s?\\d|select\\s*?pg_sleep)",
  3740. "options": {
  3741. "min_length": 10
  3742. }
  3743. },
  3744. "operator": "match_regex"
  3745. }
  3746. ],
  3747. "transformers": []
  3748. },
  3749. {
  3750. "id": "crs-942-290",
  3751. "name": "Finds basic MongoDB SQL injection attempts",
  3752. "tags": {
  3753. "type": "nosql_injection",
  3754. "crs_id": "942290",
  3755. "category": "attack_attempt"
  3756. },
  3757. "conditions": [
  3758. {
  3759. "parameters": {
  3760. "inputs": [
  3761. {
  3762. "address": "server.request.query"
  3763. },
  3764. {
  3765. "address": "server.request.body"
  3766. },
  3767. {
  3768. "address": "server.request.path_params"
  3769. },
  3770. {
  3771. "address": "grpc.server.request.message"
  3772. }
  3773. ],
  3774. "regex": "(?i:(?:\\[?\\$(?:(?:s(?:lic|iz)|wher)e|e(?:lemMatch|xists|q)|n(?:o[rt]|in?|e)|l(?:ike|te?)|t(?:ext|ype)|a(?:ll|nd)|jsonSchema|between|regex|x?or|div|mod)\\]?)\\b)",
  3775. "options": {
  3776. "case_sensitive": true,
  3777. "min_length": 3
  3778. }
  3779. },
  3780. "operator": "match_regex"
  3781. }
  3782. ],
  3783. "transformers": [
  3784. "keys_only"
  3785. ]
  3786. },
  3787. {
  3788. "id": "crs-942-360",
  3789. "name": "Detects concatenated basic SQL injection and SQLLFI attempts",
  3790. "tags": {
  3791. "type": "sql_injection",
  3792. "crs_id": "942360",
  3793. "category": "attack_attempt"
  3794. },
  3795. "conditions": [
  3796. {
  3797. "parameters": {
  3798. "inputs": [
  3799. {
  3800. "address": "server.request.query"
  3801. },
  3802. {
  3803. "address": "server.request.body"
  3804. },
  3805. {
  3806. "address": "server.request.path_params"
  3807. },
  3808. {
  3809. "address": "grpc.server.request.message"
  3810. }
  3811. ],
  3812. "regex": "(?:^[\\W\\d]+\\s*?(?:alter\\s*(?:a(?:(?:pplication\\s*rol|ggregat)e|s(?:ymmetric\\s*ke|sembl)y|u(?:thorization|dit)|vailability\\s*group)|c(?:r(?:yptographic\\s*provider|edential)|o(?:l(?:latio|um)|nversio)n|ertificate|luster)|s(?:e(?:rv(?:ice|er)|curity|quence|ssion|arch)|y(?:mmetric\\s*key|nonym)|togroup|chema)|m(?:a(?:s(?:ter\\s*key|k)|terialized)|e(?:ssage\\s*type|thod)|odule)|l(?:o(?:g(?:file\\s*group|in)|ckdown)|a(?:ngua|r)ge|ibrary)|t(?:(?:abl(?:espac)?|yp)e|r(?:igger|usted)|hreshold|ext)|p(?:a(?:rtition|ckage)|ro(?:cedur|fil)e|ermission)|d(?:i(?:mension|skgroup)|atabase|efault|omain)|r(?:o(?:l(?:lback|e)|ute)|e(?:sourc|mot)e)|f(?:u(?:lltext|nction)|lashback|oreign)|e(?:xte(?:nsion|rnal)|(?:ndpoi|ve)nt)|in(?:dex(?:type)?|memory|stance)|b(?:roker\\s*priority|ufferpool)|x(?:ml\\s*schema|srobject)|w(?:ork(?:load)?|rapper)|hi(?:erarchy|stogram)|o(?:perator|utline)|(?:nicknam|queu)e|us(?:age|er)|group|java|view)|union\\s*(?:(?:distin|sele)ct|all))\\b|\\b(?:(?:(?:trunc|cre|upd)at|renam)e|(?:inser|selec)t|de(?:lete|sc)|alter|load)\\s+(?:group_concat|load_file|char)\\b\\s*\\(?|[\\s(]load_file\\s*?\\(|[\\\"'`]\\s+regexp\\W)",
  3813. "options": {
  3814. "min_length": 5
  3815. }
  3816. },
  3817. "operator": "match_regex"
  3818. }
  3819. ],
  3820. "transformers": []
  3821. },
  3822. {
  3823. "id": "crs-942-500",
  3824. "name": "MySQL in-line comment detected",
  3825. "tags": {
  3826. "type": "sql_injection",
  3827. "crs_id": "942500",
  3828. "category": "attack_attempt"
  3829. },
  3830. "conditions": [
  3831. {
  3832. "parameters": {
  3833. "inputs": [
  3834. {
  3835. "address": "server.request.query"
  3836. },
  3837. {
  3838. "address": "server.request.body"
  3839. },
  3840. {
  3841. "address": "server.request.path_params"
  3842. },
  3843. {
  3844. "address": "grpc.server.request.message"
  3845. }
  3846. ],
  3847. "regex": "(?i:/\\*[!+](?:[\\w\\s=_\\-(?:)]+)?\\*/)",
  3848. "options": {
  3849. "case_sensitive": true,
  3850. "min_length": 5
  3851. }
  3852. },
  3853. "operator": "match_regex"
  3854. }
  3855. ],
  3856. "transformers": []
  3857. },
  3858. {
  3859. "id": "crs-943-100",
  3860. "name": "Possible Session Fixation Attack: Setting Cookie Values in HTML",
  3861. "tags": {
  3862. "type": "http_protocol_violation",
  3863. "crs_id": "943100",
  3864. "category": "attack_attempt"
  3865. },
  3866. "conditions": [
  3867. {
  3868. "parameters": {
  3869. "inputs": [
  3870. {
  3871. "address": "server.request.query"
  3872. },
  3873. {
  3874. "address": "server.request.body"
  3875. },
  3876. {
  3877. "address": "server.request.path_params"
  3878. }
  3879. ],
  3880. "regex": "(?i:\\.cookie\\b.*?;\\W*?(?:expires|domain)\\W*?=|\\bhttp-equiv\\W+set-cookie\\b)",
  3881. "options": {
  3882. "case_sensitive": true,
  3883. "min_length": 15
  3884. }
  3885. },
  3886. "operator": "match_regex"
  3887. }
  3888. ],
  3889. "transformers": []
  3890. },
  3891. {
  3892. "id": "crs-944-100",
  3893. "name": "Remote Command Execution: Suspicious Java class detected",
  3894. "tags": {
  3895. "type": "java_code_injection",
  3896. "crs_id": "944100",
  3897. "category": "attack_attempt"
  3898. },
  3899. "conditions": [
  3900. {
  3901. "parameters": {
  3902. "inputs": [
  3903. {
  3904. "address": "server.request.query"
  3905. },
  3906. {
  3907. "address": "server.request.body"
  3908. },
  3909. {
  3910. "address": "server.request.path_params"
  3911. },
  3912. {
  3913. "address": "server.request.headers.no_cookies"
  3914. },
  3915. {
  3916. "address": "grpc.server.request.message"
  3917. }
  3918. ],
  3919. "regex": "java\\.lang\\.(?:runtime|processbuilder)",
  3920. "options": {
  3921. "case_sensitive": true,
  3922. "min_length": 17
  3923. }
  3924. },
  3925. "operator": "match_regex"
  3926. }
  3927. ],
  3928. "transformers": [
  3929. "lowercase"
  3930. ]
  3931. },
  3932. {
  3933. "id": "crs-944-110",
  3934. "name": "Remote Command Execution: Java process spawn (CVE-2017-9805)",
  3935. "tags": {
  3936. "type": "java_code_injection",
  3937. "crs_id": "944110",
  3938. "category": "attack_attempt"
  3939. },
  3940. "conditions": [
  3941. {
  3942. "parameters": {
  3943. "inputs": [
  3944. {
  3945. "address": "server.request.query"
  3946. },
  3947. {
  3948. "address": "server.request.body"
  3949. },
  3950. {
  3951. "address": "server.request.path_params"
  3952. },
  3953. {
  3954. "address": "server.request.headers.no_cookies"
  3955. },
  3956. {
  3957. "address": "grpc.server.request.message"
  3958. }
  3959. ],
  3960. "regex": "(?:runtime|processbuilder)",
  3961. "options": {
  3962. "case_sensitive": true,
  3963. "min_length": 7
  3964. }
  3965. },
  3966. "operator": "match_regex"
  3967. },
  3968. {
  3969. "parameters": {
  3970. "inputs": [
  3971. {
  3972. "address": "server.request.query"
  3973. },
  3974. {
  3975. "address": "server.request.body"
  3976. },
  3977. {
  3978. "address": "server.request.path_params"
  3979. },
  3980. {
  3981. "address": "server.request.headers.no_cookies"
  3982. },
  3983. {
  3984. "address": "grpc.server.request.message"
  3985. }
  3986. ],
  3987. "regex": "(?:unmarshaller|base64data|java\\.)",
  3988. "options": {
  3989. "case_sensitive": true,
  3990. "min_length": 5
  3991. }
  3992. },
  3993. "operator": "match_regex"
  3994. }
  3995. ],
  3996. "transformers": [
  3997. "lowercase"
  3998. ]
  3999. },
  4000. {
  4001. "id": "crs-944-130",
  4002. "name": "Suspicious Java class detected",
  4003. "tags": {
  4004. "type": "java_code_injection",
  4005. "crs_id": "944130",
  4006. "category": "attack_attempt"
  4007. },
  4008. "conditions": [
  4009. {
  4010. "parameters": {
  4011. "inputs": [
  4012. {
  4013. "address": "server.request.query"
  4014. },
  4015. {
  4016. "address": "server.request.body"
  4017. },
  4018. {
  4019. "address": "server.request.path_params"
  4020. },
  4021. {
  4022. "address": "server.request.headers.no_cookies"
  4023. },
  4024. {
  4025. "address": "grpc.server.request.message"
  4026. }
  4027. ],
  4028. "list": [
  4029. "com.opensymphony.xwork2",
  4030. "com.sun.org.apache",
  4031. "java.io.bufferedinputstream",
  4032. "java.io.bufferedreader",
  4033. "java.io.bytearrayinputstream",
  4034. "java.io.bytearrayoutputstream",
  4035. "java.io.chararrayreader",
  4036. "java.io.datainputstream",
  4037. "java.io.file",
  4038. "java.io.fileoutputstream",
  4039. "java.io.filepermission",
  4040. "java.io.filewriter",
  4041. "java.io.filterinputstream",
  4042. "java.io.filteroutputstream",
  4043. "java.io.filterreader",
  4044. "java.io.inputstream",
  4045. "java.io.inputstreamreader",
  4046. "java.io.linenumberreader",
  4047. "java.io.objectoutputstream",
  4048. "java.io.outputstream",
  4049. "java.io.pipedoutputstream",
  4050. "java.io.pipedreader",
  4051. "java.io.printstream",
  4052. "java.io.pushbackinputstream",
  4053. "java.io.reader",
  4054. "java.io.stringreader",
  4055. "java.lang.class",
  4056. "java.lang.integer",
  4057. "java.lang.number",
  4058. "java.lang.object",
  4059. "java.lang.process",
  4060. "java.lang.processbuilder",
  4061. "java.lang.reflect",
  4062. "java.lang.runtime",
  4063. "java.lang.string",
  4064. "java.lang.stringbuilder",
  4065. "java.lang.system",
  4066. "javax.script.scriptenginemanager",
  4067. "org.apache.commons",
  4068. "org.apache.struts",
  4069. "org.apache.struts2",
  4070. "org.omg.corba",
  4071. "java.beans.xmldecode"
  4072. ]
  4073. },
  4074. "operator": "phrase_match"
  4075. }
  4076. ],
  4077. "transformers": [
  4078. "lowercase"
  4079. ]
  4080. },
  4081. {
  4082. "id": "crs-944-260",
  4083. "name": "Remote Command Execution: Malicious class-loading payload",
  4084. "tags": {
  4085. "type": "java_code_injection",
  4086. "crs_id": "944260",
  4087. "category": "attack_attempt"
  4088. },
  4089. "conditions": [
  4090. {
  4091. "parameters": {
  4092. "inputs": [
  4093. {
  4094. "address": "server.request.query"
  4095. },
  4096. {
  4097. "address": "server.request.body"
  4098. },
  4099. {
  4100. "address": "server.request.path_params"
  4101. },
  4102. {
  4103. "address": "server.request.headers.no_cookies"
  4104. },
  4105. {
  4106. "address": "grpc.server.request.message"
  4107. }
  4108. ],
  4109. "regex": "(?:class\\.module\\.classLoader\\.resources\\.context\\.parent\\.pipeline|springframework\\.context\\.support\\.FileSystemXmlApplicationContext)",
  4110. "options": {
  4111. "case_sensitive": true,
  4112. "min_length": 58
  4113. }
  4114. },
  4115. "operator": "match_regex"
  4116. }
  4117. ],
  4118. "transformers": []
  4119. },
  4120. {
  4121. "id": "dog-000-001",
  4122. "name": "Look for Cassandra injections",
  4123. "tags": {
  4124. "type": "nosql_injection",
  4125. "category": "attack_attempt"
  4126. },
  4127. "conditions": [
  4128. {
  4129. "parameters": {
  4130. "inputs": [
  4131. {
  4132. "address": "server.request.query"
  4133. },
  4134. {
  4135. "address": "server.request.body"
  4136. },
  4137. {
  4138. "address": "server.request.path_params"
  4139. },
  4140. {
  4141. "address": "server.request.headers.no_cookies"
  4142. }
  4143. ],
  4144. "regex": "\\ballow\\s+filtering\\b"
  4145. },
  4146. "operator": "match_regex"
  4147. }
  4148. ],
  4149. "transformers": [
  4150. "removeComments"
  4151. ]
  4152. },
  4153. {
  4154. "id": "dog-000-002",
  4155. "name": "OGNL - Look for formatting injection patterns",
  4156. "tags": {
  4157. "type": "java_code_injection",
  4158. "category": "attack_attempt"
  4159. },
  4160. "conditions": [
  4161. {
  4162. "operator": "match_regex",
  4163. "parameters": {
  4164. "inputs": [
  4165. {
  4166. "address": "server.request.uri.raw"
  4167. },
  4168. {
  4169. "address": "server.request.query"
  4170. },
  4171. {
  4172. "address": "server.request.body"
  4173. },
  4174. {
  4175. "address": "server.request.path_params"
  4176. },
  4177. {
  4178. "address": "grpc.server.request.message"
  4179. }
  4180. ],
  4181. "regex": "[#%$]{(?:[^}]+[^\\w\\s}\\-_][^}]+|\\d+-\\d+)}",
  4182. "options": {
  4183. "case_sensitive": true
  4184. }
  4185. }
  4186. }
  4187. ],
  4188. "transformers": []
  4189. },
  4190. {
  4191. "id": "dog-000-003",
  4192. "name": "OGNL - Detect OGNL exploitation primitives",
  4193. "tags": {
  4194. "type": "java_code_injection",
  4195. "category": "attack_attempt"
  4196. },
  4197. "conditions": [
  4198. {
  4199. "operator": "match_regex",
  4200. "parameters": {
  4201. "inputs": [
  4202. {
  4203. "address": "server.request.query"
  4204. },
  4205. {
  4206. "address": "server.request.body"
  4207. },
  4208. {
  4209. "address": "server.request.path_params"
  4210. },
  4211. {
  4212. "address": "server.request.headers.no_cookies"
  4213. },
  4214. {
  4215. "address": "grpc.server.request.message"
  4216. }
  4217. ],
  4218. "regex": "[@#]ognl",
  4219. "options": {
  4220. "case_sensitive": true
  4221. }
  4222. }
  4223. }
  4224. ],
  4225. "transformers": []
  4226. },
  4227. {
  4228. "id": "dog-000-004",
  4229. "name": "Spring4Shell - Attempts to exploit the Spring4shell vulnerability",
  4230. "tags": {
  4231. "type": "exploit_detection",
  4232. "category": "attack_attempt"
  4233. },
  4234. "conditions": [
  4235. {
  4236. "operator": "match_regex",
  4237. "parameters": {
  4238. "inputs": [
  4239. {
  4240. "address": "server.request.body"
  4241. }
  4242. ],
  4243. "regex": "^class\\.module\\.classLoader\\.",
  4244. "options": {
  4245. "case_sensitive": false
  4246. }
  4247. }
  4248. }
  4249. ],
  4250. "transformers": [
  4251. "keys_only"
  4252. ]
  4253. },
  4254. {
  4255. "id": "dog-000-005",
  4256. "name": "Node.js: Prototype pollution through __proto__",
  4257. "tags": {
  4258. "type": "js_code_injection",
  4259. "category": "attack_attempt"
  4260. },
  4261. "conditions": [
  4262. {
  4263. "parameters": {
  4264. "inputs": [
  4265. {
  4266. "address": "server.request.query"
  4267. },
  4268. {
  4269. "address": "server.request.body"
  4270. }
  4271. ],
  4272. "regex": "^__proto__$"
  4273. },
  4274. "operator": "match_regex"
  4275. }
  4276. ],
  4277. "transformers": [
  4278. "keys_only"
  4279. ]
  4280. },
  4281. {
  4282. "id": "dog-000-006",
  4283. "name": "Node.js: Prototype pollution through constructor.prototype",
  4284. "tags": {
  4285. "type": "js_code_injection",
  4286. "category": "attack_attempt"
  4287. },
  4288. "conditions": [
  4289. {
  4290. "parameters": {
  4291. "inputs": [
  4292. {
  4293. "address": "server.request.query"
  4294. },
  4295. {
  4296. "address": "server.request.body"
  4297. }
  4298. ],
  4299. "regex": "^constructor$"
  4300. },
  4301. "operator": "match_regex"
  4302. },
  4303. {
  4304. "parameters": {
  4305. "inputs": [
  4306. {
  4307. "address": "server.request.query"
  4308. },
  4309. {
  4310. "address": "server.request.body"
  4311. }
  4312. ],
  4313. "regex": "^prototype$"
  4314. },
  4315. "operator": "match_regex"
  4316. }
  4317. ],
  4318. "transformers": [
  4319. "keys_only"
  4320. ]
  4321. },
  4322. {
  4323. "id": "dog-000-007",
  4324. "name": "Server side template injection: Velocity & Freemarker",
  4325. "tags": {
  4326. "type": "java_code_injection",
  4327. "category": "attack_attempt"
  4328. },
  4329. "conditions": [
  4330. {
  4331. "parameters": {
  4332. "inputs": [
  4333. {
  4334. "address": "server.request.query"
  4335. },
  4336. {
  4337. "address": "server.request.body"
  4338. },
  4339. {
  4340. "address": "server.request.path_params"
  4341. },
  4342. {
  4343. "address": "server.request.headers.no_cookies"
  4344. },
  4345. {
  4346. "address": "grpc.server.request.message"
  4347. }
  4348. ],
  4349. "regex": "#(?:set|foreach|macro|parse|if)\\(.*\\)|<#assign.*>"
  4350. },
  4351. "operator": "match_regex"
  4352. }
  4353. ],
  4354. "transformers": []
  4355. },
  4356. {
  4357. "id": "dog-931-001",
  4358. "name": "RFI: URL Payload to well known RFI target",
  4359. "tags": {
  4360. "type": "rfi",
  4361. "category": "attack_attempt"
  4362. },
  4363. "conditions": [
  4364. {
  4365. "parameters": {
  4366. "inputs": [
  4367. {
  4368. "address": "server.request.query"
  4369. },
  4370. {
  4371. "address": "server.request.body"
  4372. },
  4373. {
  4374. "address": "server.request.path_params"
  4375. }
  4376. ],
  4377. "regex": "^(?i:file|ftps?|https?).*/rfiinc\\.txt\\?+$",
  4378. "options": {
  4379. "case_sensitive": true,
  4380. "min_length": 17
  4381. }
  4382. },
  4383. "operator": "match_regex"
  4384. }
  4385. ],
  4386. "transformers": []
  4387. },
  4388. {
  4389. "id": "nfd-000-001",
  4390. "name": "Detect common directory discovery scans",
  4391. "tags": {
  4392. "type": "security_scanner",
  4393. "category": "attack_attempt"
  4394. },
  4395. "conditions": [
  4396. {
  4397. "operator": "match_regex",
  4398. "parameters": {
  4399. "inputs": [
  4400. {
  4401. "address": "server.response.status"
  4402. }
  4403. ],
  4404. "regex": "^404$",
  4405. "options": {
  4406. "case_sensitive": true
  4407. }
  4408. }
  4409. },
  4410. {
  4411. "operator": "phrase_match",
  4412. "parameters": {
  4413. "inputs": [
  4414. {
  4415. "address": "server.request.uri.raw"
  4416. }
  4417. ],
  4418. "list": [
  4419. "/wordpress/",
  4420. "/etc/",
  4421. "/login.php",
  4422. "/install.php",
  4423. "/administrator",
  4424. "/admin.php",
  4425. "/wp-config",
  4426. "/phpmyadmin",
  4427. "/fckeditor",
  4428. "/mysql",
  4429. "/manager/html",
  4430. ".htaccess",
  4431. "/config.php",
  4432. "/configuration",
  4433. "/cgi-bin/php",
  4434. "/search.php",
  4435. "/tinymce",
  4436. "/tiny_mce",
  4437. "/settings.php",
  4438. "../../..",
  4439. "/install/",
  4440. "/download.php",
  4441. "/webdav",
  4442. "/forum.php",
  4443. "/user.php",
  4444. "/style.php",
  4445. "/jmx-console",
  4446. "/modules.php",
  4447. "/include.php",
  4448. "/default.asp",
  4449. "/help.php",
  4450. "/database.yml",
  4451. "/database.yml.pgsql",
  4452. "/database.yml.sqlite3",
  4453. "/database.yml.sqlite",
  4454. "/database.yml.mysql",
  4455. ".%2e/",
  4456. "/view.php",
  4457. "/header.php",
  4458. "/search.asp",
  4459. "%5c%5c",
  4460. "/server/php/",
  4461. "/invoker/jmxinvokerservlet",
  4462. "/phpmyadmin/index.php",
  4463. "/data/admin/allowurl.txt",
  4464. "/verify.php",
  4465. "/misc/ajax.js",
  4466. "/.idea",
  4467. "/module.php",
  4468. "/backup.rar",
  4469. "/backup.tar",
  4470. "/backup.zip",
  4471. "/backup.7z",
  4472. "/backup.gz",
  4473. "/backup.tgz",
  4474. "/backup.tar.gz",
  4475. "waitfor%20delay",
  4476. "/calendar.php",
  4477. "/news.php",
  4478. "/dompdf.php",
  4479. "))))))))))))))))",
  4480. "/web.config",
  4481. "tree.php",
  4482. "/cgi-bin-sdb/printenv",
  4483. "/comments.php",
  4484. "/detail.asp",
  4485. "/license.txt",
  4486. "/admin.asp",
  4487. "/auth.php",
  4488. "/list.php",
  4489. "/content.php",
  4490. "/mod.php",
  4491. "/mini.php",
  4492. "/install.pgsql",
  4493. "/install.mysql",
  4494. "/install.sqlite",
  4495. "/install.sqlite3",
  4496. "/install.txt",
  4497. "/install.md",
  4498. "/doku.php",
  4499. "/main.asp",
  4500. "/myadmin",
  4501. "/force-download.php",
  4502. "/iisprotect/admin",
  4503. "/.gitignore",
  4504. "/print.php",
  4505. "/common.php",
  4506. "/mainfile.php",
  4507. "/functions.php",
  4508. "/scripts/setup.php",
  4509. "/faq.php",
  4510. "/op/op.login.php",
  4511. "/home.php",
  4512. "/includes/hnmain.inc.php3",
  4513. "/preview.php",
  4514. "/dump.rar",
  4515. "/dump.tar",
  4516. "/dump.zip",
  4517. "/dump.7z",
  4518. "/dump.gz",
  4519. "/dump.tgz",
  4520. "/dump.tar.gz",
  4521. "/thumbnail.php",
  4522. "/sendcard.php",
  4523. "/global.asax",
  4524. "/directory.php",
  4525. "/footer.php",
  4526. "/error.asp",
  4527. "/forum.asp",
  4528. "/save.php",
  4529. "/htmlsax3.php",
  4530. "/adm/krgourl.php",
  4531. "/includes/converter.inc.php",
  4532. "/nucleus/libs/pluginadmin.php",
  4533. "/base_qry_common.php",
  4534. "/fileadmin",
  4535. "/bitrix/admin/",
  4536. "/adm.php",
  4537. "/util/barcode.php",
  4538. "/action.php",
  4539. "/rss.asp",
  4540. "/downloads.php",
  4541. "/page.php",
  4542. "/snarf_ajax.php",
  4543. "/fck/editor",
  4544. "/sendmail.php",
  4545. "/detail.php",
  4546. "/iframe.php",
  4547. "/swfupload.swf",
  4548. "/jenkins/login",
  4549. "/phpmyadmin/main.php",
  4550. "/phpmyadmin/scripts/setup.php",
  4551. "/user/index.php",
  4552. "/checkout.php",
  4553. "/process.php",
  4554. "/ks_inc/ajax.js",
  4555. "/export.php",
  4556. "/register.php",
  4557. "/cart.php",
  4558. "/console.php",
  4559. "/friend.php",
  4560. "/readmsg.php",
  4561. "/install.asp",
  4562. "/dagent/downloadreport.asp",
  4563. "/system/index.php",
  4564. "/core/changelog.txt",
  4565. "/js/util.js",
  4566. "/interna.php",
  4567. "/gallery.php",
  4568. "/links.php",
  4569. "/data/admin/ver.txt",
  4570. "/language/zh-cn.xml",
  4571. "/productdetails.asp",
  4572. "/admin/template/article_more/config.htm",
  4573. "/components/com_moofaq/includes/file_includer.php",
  4574. "/licence.txt",
  4575. "/rss.xsl",
  4576. "/vtigerservice.php",
  4577. "/mysql/main.php",
  4578. "/passwiki.php",
  4579. "/scr/soustab.php",
  4580. "/global.php",
  4581. "/email.php",
  4582. "/user.asp",
  4583. "/msd",
  4584. "/products.php",
  4585. "/cultbooking.php",
  4586. "/cron.php",
  4587. "/static/js/admincp.js",
  4588. "/comment.php",
  4589. "/maintainers",
  4590. "/modules/plain/adminpart/addplain.php",
  4591. "/wp-content/plugins/ungallery/source_vuln.php",
  4592. "/upgrade.txt",
  4593. "/category.php",
  4594. "/index_logged.php",
  4595. "/members.asp",
  4596. "/script/html.js",
  4597. "/images/ad.js",
  4598. "/awstats/awstats.pl",
  4599. "/includes/esqueletos/skel_null.php",
  4600. "/modules/profile/user.php",
  4601. "/window_top.php",
  4602. "/openbrowser.php",
  4603. "/thread.php",
  4604. "tinfoil_xss",
  4605. "/includes/include.php",
  4606. "/urheber.php",
  4607. "/header.inc.php",
  4608. "/mysqldumper",
  4609. "/display.php",
  4610. "/website.php",
  4611. "/stats.php",
  4612. "/assets/plugins/mp3_id/mp3_id.php",
  4613. "/siteminderagent/forms/smpwservices.fcc"
  4614. ]
  4615. }
  4616. }
  4617. ],
  4618. "transformers": [
  4619. "lowercase"
  4620. ]
  4621. },
  4622. {
  4623. "id": "nfd-000-002",
  4624. "name": "Detect failed attempt to fetch readme files",
  4625. "tags": {
  4626. "type": "security_scanner",
  4627. "category": "attack_attempt"
  4628. },
  4629. "conditions": [
  4630. {
  4631. "operator": "match_regex",
  4632. "parameters": {
  4633. "inputs": [
  4634. {
  4635. "address": "server.response.status"
  4636. }
  4637. ],
  4638. "regex": "^404$",
  4639. "options": {
  4640. "case_sensitive": true
  4641. }
  4642. }
  4643. },
  4644. {
  4645. "operator": "match_regex",
  4646. "parameters": {
  4647. "inputs": [
  4648. {
  4649. "address": "server.request.uri.raw"
  4650. }
  4651. ],
  4652. "regex": "readme\\.[\\.a-z0-9]+$",
  4653. "options": {
  4654. "case_sensitive": false
  4655. }
  4656. }
  4657. }
  4658. ],
  4659. "transformers": []
  4660. },
  4661. {
  4662. "id": "nfd-000-003",
  4663. "name": "Detect failed attempt to fetch Java EE resource files",
  4664. "tags": {
  4665. "type": "security_scanner",
  4666. "category": "attack_attempt"
  4667. },
  4668. "conditions": [
  4669. {
  4670. "operator": "match_regex",
  4671. "parameters": {
  4672. "inputs": [
  4673. {
  4674. "address": "server.response.status"
  4675. }
  4676. ],
  4677. "regex": "^404$",
  4678. "options": {
  4679. "case_sensitive": true
  4680. }
  4681. }
  4682. },
  4683. {
  4684. "operator": "match_regex",
  4685. "parameters": {
  4686. "inputs": [
  4687. {
  4688. "address": "server.request.uri.raw"
  4689. }
  4690. ],
  4691. "regex": "^(?:.*web\\-inf)(?:.*web\\.xml).*$",
  4692. "options": {
  4693. "case_sensitive": false
  4694. }
  4695. }
  4696. }
  4697. ],
  4698. "transformers": []
  4699. },
  4700. {
  4701. "id": "nfd-000-004",
  4702. "name": "Detect failed attempt to fetch code files",
  4703. "tags": {
  4704. "type": "security_scanner",
  4705. "category": "attack_attempt"
  4706. },
  4707. "conditions": [
  4708. {
  4709. "operator": "match_regex",
  4710. "parameters": {
  4711. "inputs": [
  4712. {
  4713. "address": "server.response.status"
  4714. }
  4715. ],
  4716. "regex": "^404$",
  4717. "options": {
  4718. "case_sensitive": true
  4719. }
  4720. }
  4721. },
  4722. {
  4723. "operator": "match_regex",
  4724. "parameters": {
  4725. "inputs": [
  4726. {
  4727. "address": "server.request.uri.raw"
  4728. }
  4729. ],
  4730. "regex": "\\.(java|pyc?|rb|class)\\b",
  4731. "options": {
  4732. "case_sensitive": false
  4733. }
  4734. }
  4735. }
  4736. ],
  4737. "transformers": []
  4738. },
  4739. {
  4740. "id": "nfd-000-005",
  4741. "name": "Detect failed attempt to fetch source code archives",
  4742. "tags": {
  4743. "type": "security_scanner",
  4744. "category": "attack_attempt"
  4745. },
  4746. "conditions": [
  4747. {
  4748. "operator": "match_regex",
  4749. "parameters": {
  4750. "inputs": [
  4751. {
  4752. "address": "server.response.status"
  4753. }
  4754. ],
  4755. "regex": "^404$",
  4756. "options": {
  4757. "case_sensitive": true
  4758. }
  4759. }
  4760. },
  4761. {
  4762. "operator": "match_regex",
  4763. "parameters": {
  4764. "inputs": [
  4765. {
  4766. "address": "server.request.uri.raw"
  4767. }
  4768. ],
  4769. "regex": "\\.(sql|log|ndb|gz|zip|tar\\.gz|tar|regVV|reg|conf|bz2|ini|db|war|bat|inc|btr|server|ds|conf|config|admin|master|sln|bak)\\b(?:[^.]|$)",
  4770. "options": {
  4771. "case_sensitive": false
  4772. }
  4773. }
  4774. }
  4775. ],
  4776. "transformers": []
  4777. },
  4778. {
  4779. "id": "nfd-000-006",
  4780. "name": "Detect failed attempt to fetch sensitive files",
  4781. "tags": {
  4782. "type": "security_scanner",
  4783. "category": "attack_attempt"
  4784. },
  4785. "conditions": [
  4786. {
  4787. "operator": "match_regex",
  4788. "parameters": {
  4789. "inputs": [
  4790. {
  4791. "address": "server.response.status"
  4792. }
  4793. ],
  4794. "regex": "^404$",
  4795. "options": {
  4796. "case_sensitive": true
  4797. }
  4798. }
  4799. },
  4800. {
  4801. "operator": "match_regex",
  4802. "parameters": {
  4803. "inputs": [
  4804. {
  4805. "address": "server.request.uri.raw"
  4806. }
  4807. ],
  4808. "regex": "\\.(cgi|bat|dll|exe|key|cert|crt|pem|der|pkcs|pkcs|pkcs[0-9]*|nsf|jsa|war|java|class|vb|vba|so|git|svn|hg|cvs)([^a-zA-Z0-9_]|$)",
  4809. "options": {
  4810. "case_sensitive": false
  4811. }
  4812. }
  4813. }
  4814. ],
  4815. "transformers": []
  4816. },
  4817. {
  4818. "id": "nfd-000-007",
  4819. "name": "Detect failed attempt to fetch archives",
  4820. "tags": {
  4821. "type": "security_scanner",
  4822. "category": "attack_attempt"
  4823. },
  4824. "conditions": [
  4825. {
  4826. "operator": "match_regex",
  4827. "parameters": {
  4828. "inputs": [
  4829. {
  4830. "address": "server.response.status"
  4831. }
  4832. ],
  4833. "regex": "^404$",
  4834. "options": {
  4835. "case_sensitive": true
  4836. }
  4837. }
  4838. },
  4839. {
  4840. "operator": "match_regex",
  4841. "parameters": {
  4842. "inputs": [
  4843. {
  4844. "address": "server.request.uri.raw"
  4845. }
  4846. ],
  4847. "regex": "/[\\d\\-_]*\\.(rar|tar|zip|7z|gz|tgz|tar.gz)",
  4848. "options": {
  4849. "case_sensitive": false
  4850. }
  4851. }
  4852. }
  4853. ],
  4854. "transformers": []
  4855. },
  4856. {
  4857. "id": "nfd-000-008",
  4858. "name": "Detect failed attempt to trigger incorrect application behavior",
  4859. "tags": {
  4860. "type": "security_scanner",
  4861. "category": "attack_attempt"
  4862. },
  4863. "conditions": [
  4864. {
  4865. "operator": "match_regex",
  4866. "parameters": {
  4867. "inputs": [
  4868. {
  4869. "address": "server.response.status"
  4870. }
  4871. ],
  4872. "regex": "^404$",
  4873. "options": {
  4874. "case_sensitive": true
  4875. }
  4876. }
  4877. },
  4878. {
  4879. "operator": "match_regex",
  4880. "parameters": {
  4881. "inputs": [
  4882. {
  4883. "address": "server.request.uri.raw"
  4884. }
  4885. ],
  4886. "regex": "(/(administrator/components/com.*\\.php|response\\.write\\(.+\\))|select\\(.+\\)from|\\(.*sleep\\(.+\\)|(%[a-zA-Z0-9]{2}[a-zA-Z]{0,1})+\\))",
  4887. "options": {
  4888. "case_sensitive": false
  4889. }
  4890. }
  4891. }
  4892. ],
  4893. "transformers": []
  4894. },
  4895. {
  4896. "id": "nfd-000-009",
  4897. "name": "Detect failed attempt to leak the structure of the application",
  4898. "tags": {
  4899. "type": "security_scanner",
  4900. "category": "attack_attempt"
  4901. },
  4902. "conditions": [
  4903. {
  4904. "operator": "match_regex",
  4905. "parameters": {
  4906. "inputs": [
  4907. {
  4908. "address": "server.response.status"
  4909. }
  4910. ],
  4911. "regex": "^404$",
  4912. "options": {
  4913. "case_sensitive": true
  4914. }
  4915. }
  4916. },
  4917. {
  4918. "operator": "match_regex",
  4919. "parameters": {
  4920. "inputs": [
  4921. {
  4922. "address": "server.request.uri.raw"
  4923. }
  4924. ],
  4925. "regex": "/(login\\.rol|LICENSE|[\\w-]+\\.(plx|pwd))$",
  4926. "options": {
  4927. "case_sensitive": false
  4928. }
  4929. }
  4930. }
  4931. ],
  4932. "transformers": []
  4933. },
  4934. {
  4935. "id": "sqr-000-001",
  4936. "name": "SSRF: Try to access the credential manager of the main cloud services",
  4937. "tags": {
  4938. "type": "ssrf",
  4939. "category": "attack_attempt"
  4940. },
  4941. "conditions": [
  4942. {
  4943. "parameters": {
  4944. "inputs": [
  4945. {
  4946. "address": "server.request.query"
  4947. },
  4948. {
  4949. "address": "server.request.body"
  4950. },
  4951. {
  4952. "address": "server.request.path_params"
  4953. },
  4954. {
  4955. "address": "grpc.server.request.message"
  4956. }
  4957. ],
  4958. "regex": "(?i)^\\W*((http|ftp)s?://)?\\W*((::f{4}:)?(169|(0x)?0*a9|0+251)\\.?(254|(0x)?0*fe|0+376)[0-9a-fx\\.:]+|metadata\\.google\\.internal|metadata\\.goog)\\W*/",
  4959. "options": {
  4960. "min_length": 4
  4961. }
  4962. },
  4963. "operator": "match_regex"
  4964. }
  4965. ],
  4966. "transformers": [
  4967. "removeNulls"
  4968. ]
  4969. },
  4970. {
  4971. "id": "sqr-000-002",
  4972. "name": "Server-side Javascript injection: Try to detect obvious JS injection",
  4973. "tags": {
  4974. "type": "js_code_injection",
  4975. "category": "attack_attempt"
  4976. },
  4977. "conditions": [
  4978. {
  4979. "parameters": {
  4980. "inputs": [
  4981. {
  4982. "address": "server.request.query"
  4983. },
  4984. {
  4985. "address": "server.request.body"
  4986. },
  4987. {
  4988. "address": "server.request.path_params"
  4989. },
  4990. {
  4991. "address": "grpc.server.request.message"
  4992. }
  4993. ],
  4994. "regex": "require\\(['\"][\\w\\.]+['\"]\\)|process\\.\\w+\\([\\w\\.]*\\)|\\.toString\\(\\)",
  4995. "options": {
  4996. "min_length": 4
  4997. }
  4998. },
  4999. "operator": "match_regex"
  5000. }
  5001. ],
  5002. "transformers": [
  5003. "removeNulls"
  5004. ]
  5005. },
  5006. {
  5007. "id": "sqr-000-007",
  5008. "name": "NoSQL: Detect common exploitation strategy",
  5009. "tags": {
  5010. "type": "nosql_injection",
  5011. "category": "attack_attempt"
  5012. },
  5013. "conditions": [
  5014. {
  5015. "parameters": {
  5016. "inputs": [
  5017. {
  5018. "address": "server.request.query"
  5019. },
  5020. {
  5021. "address": "server.request.body"
  5022. },
  5023. {
  5024. "address": "server.request.path_params"
  5025. }
  5026. ],
  5027. "regex": "^\\$(eq|ne|(l|g)te?|n?in|not|(n|x|)or|and|regex|where|expr|exists)$"
  5028. },
  5029. "operator": "match_regex"
  5030. }
  5031. ],
  5032. "transformers": [
  5033. "keys_only"
  5034. ]
  5035. },
  5036. {
  5037. "id": "sqr-000-008",
  5038. "name": "Windows: Detect attempts to exfiltrate .ini files",
  5039. "tags": {
  5040. "type": "command_injection",
  5041. "category": "attack_attempt"
  5042. },
  5043. "conditions": [
  5044. {
  5045. "parameters": {
  5046. "inputs": [
  5047. {
  5048. "address": "server.request.query"
  5049. },
  5050. {
  5051. "address": "server.request.body"
  5052. },
  5053. {
  5054. "address": "server.request.path_params"
  5055. },
  5056. {
  5057. "address": "server.request.headers.no_cookies"
  5058. },
  5059. {
  5060. "address": "grpc.server.request.message"
  5061. }
  5062. ],
  5063. "regex": "(?i)[&|]\\s*type\\s+%\\w+%\\\\+\\w+\\.ini\\s*[&|]"
  5064. },
  5065. "operator": "match_regex"
  5066. }
  5067. ],
  5068. "transformers": []
  5069. },
  5070. {
  5071. "id": "sqr-000-009",
  5072. "name": "Linux: Detect attempts to exfiltrate passwd files",
  5073. "tags": {
  5074. "type": "command_injection",
  5075. "category": "attack_attempt"
  5076. },
  5077. "conditions": [
  5078. {
  5079. "parameters": {
  5080. "inputs": [
  5081. {
  5082. "address": "server.request.query"
  5083. },
  5084. {
  5085. "address": "server.request.body"
  5086. },
  5087. {
  5088. "address": "server.request.path_params"
  5089. },
  5090. {
  5091. "address": "server.request.headers.no_cookies"
  5092. },
  5093. {
  5094. "address": "grpc.server.request.message"
  5095. }
  5096. ],
  5097. "regex": "(?i)[&|]\\s*cat\\s+\\/etc\\/[\\w\\.\\/]*passwd\\s*[&|]"
  5098. },
  5099. "operator": "match_regex"
  5100. }
  5101. ],
  5102. "transformers": []
  5103. },
  5104. {
  5105. "id": "sqr-000-010",
  5106. "name": "Windows: Detect attempts to timeout a shell",
  5107. "tags": {
  5108. "type": "command_injection",
  5109. "category": "attack_attempt"
  5110. },
  5111. "conditions": [
  5112. {
  5113. "parameters": {
  5114. "inputs": [
  5115. {
  5116. "address": "server.request.query"
  5117. },
  5118. {
  5119. "address": "server.request.body"
  5120. },
  5121. {
  5122. "address": "server.request.path_params"
  5123. },
  5124. {
  5125. "address": "server.request.headers.no_cookies"
  5126. },
  5127. {
  5128. "address": "grpc.server.request.message"
  5129. }
  5130. ],
  5131. "regex": "(?i)[&|]\\s*timeout\\s+/t\\s+\\d+\\s*[&|]"
  5132. },
  5133. "operator": "match_regex"
  5134. }
  5135. ],
  5136. "transformers": []
  5137. },
  5138. {
  5139. "id": "sqr-000-011",
  5140. "name": "SSRF: Try to access internal OMI service (CVE-2021-38647)",
  5141. "tags": {
  5142. "type": "ssrf",
  5143. "category": "attack_attempt"
  5144. },
  5145. "conditions": [
  5146. {
  5147. "parameters": {
  5148. "inputs": [
  5149. {
  5150. "address": "server.request.query"
  5151. },
  5152. {
  5153. "address": "server.request.body"
  5154. },
  5155. {
  5156. "address": "server.request.path_params"
  5157. },
  5158. {
  5159. "address": "grpc.server.request.message"
  5160. }
  5161. ],
  5162. "regex": "http(s?):\\/\\/([A-Za-z0-9\\.\\-\\_]+|\\[[A-Fa-f0-9\\:]+\\]|):5986\\/wsman",
  5163. "options": {
  5164. "min_length": 4
  5165. }
  5166. },
  5167. "operator": "match_regex"
  5168. }
  5169. ],
  5170. "transformers": []
  5171. },
  5172. {
  5173. "id": "sqr-000-012",
  5174. "name": "SSRF: Detect SSRF attempt on internal service",
  5175. "tags": {
  5176. "type": "ssrf",
  5177. "category": "attack_attempt"
  5178. },
  5179. "conditions": [
  5180. {
  5181. "parameters": {
  5182. "inputs": [
  5183. {
  5184. "address": "server.request.query"
  5185. },
  5186. {
  5187. "address": "server.request.body"
  5188. },
  5189. {
  5190. "address": "server.request.path_params"
  5191. },
  5192. {
  5193. "address": "grpc.server.request.message"
  5194. }
  5195. ],
  5196. "regex": "^(jar:)?(http|https):\\/\\/([0-9oq]{1,5}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|[0-9]{1,10})(:[0-9]{1,5})?(\\/.*|)$"
  5197. },
  5198. "operator": "match_regex"
  5199. }
  5200. ],
  5201. "transformers": [
  5202. "lowercase"
  5203. ]
  5204. },
  5205. {
  5206. "id": "sqr-000-013",
  5207. "name": "SSRF: Detect SSRF attempts using IPv6 or octal/hexdecimal obfuscation",
  5208. "tags": {
  5209. "type": "ssrf",
  5210. "category": "attack_attempt"
  5211. },
  5212. "conditions": [
  5213. {
  5214. "parameters": {
  5215. "inputs": [
  5216. {
  5217. "address": "server.request.query"
  5218. },
  5219. {
  5220. "address": "server.request.body"
  5221. },
  5222. {
  5223. "address": "server.request.path_params"
  5224. },
  5225. {
  5226. "address": "grpc.server.request.message"
  5227. }
  5228. ],
  5229. "regex": "^(jar:)?(http|https):\\/\\/((\\[)?[:0-9a-f\\.x]{2,}(\\])?)(:[0-9]{1,5})?(\\/.*)?$"
  5230. },
  5231. "operator": "match_regex"
  5232. }
  5233. ],
  5234. "transformers": [
  5235. "lowercase"
  5236. ]
  5237. },
  5238. {
  5239. "id": "sqr-000-014",
  5240. "name": "SSRF: Detect SSRF domain redirection bypass",
  5241. "tags": {
  5242. "type": "ssrf",
  5243. "category": "attack_attempt"
  5244. },
  5245. "conditions": [
  5246. {
  5247. "parameters": {
  5248. "inputs": [
  5249. {
  5250. "address": "server.request.query"
  5251. },
  5252. {
  5253. "address": "server.request.body"
  5254. },
  5255. {
  5256. "address": "server.request.path_params"
  5257. },
  5258. {
  5259. "address": "server.request.headers.no_cookies"
  5260. },
  5261. {
  5262. "address": "grpc.server.request.message"
  5263. }
  5264. ],
  5265. "regex": "(http|https):\\/\\/(?:.*\\.)?(?:burpcollaborator\\.net|localtest\\.me|mail\\.ebc\\.apple\\.com|bugbounty\\.dod\\.network|.*\\.[nx]ip\\.io|oastify\\.com|oast\\.(?:pro|live|site|online|fun|me)|sslip\\.io|requestbin\\.com|requestbin\\.net|hookbin\\.com|webhook\\.site|canarytokens\\.com|interact\\.sh|ngrok\\.io|bugbounty\\.click)"
  5266. },
  5267. "operator": "match_regex"
  5268. }
  5269. ],
  5270. "transformers": [
  5271. "lowercase"
  5272. ]
  5273. },
  5274. {
  5275. "id": "sqr-000-015",
  5276. "name": "SSRF: Detect SSRF attempt using non HTTP protocol",
  5277. "tags": {
  5278. "type": "ssrf",
  5279. "category": "attack_attempt"
  5280. },
  5281. "conditions": [
  5282. {
  5283. "parameters": {
  5284. "inputs": [
  5285. {
  5286. "address": "server.request.query"
  5287. },
  5288. {
  5289. "address": "server.request.body"
  5290. },
  5291. {
  5292. "address": "server.request.path_params"
  5293. },
  5294. {
  5295. "address": "server.request.headers.no_cookies"
  5296. },
  5297. {
  5298. "address": "grpc.server.request.message"
  5299. }
  5300. ],
  5301. "regex": "^(jar:)?((file|netdoc):\\/\\/[\\\\\\/]+|(dict|gopher|ldap|sftp|tftp):\\/\\/.*:[0-9]{1,5})"
  5302. },
  5303. "operator": "match_regex"
  5304. }
  5305. ],
  5306. "transformers": [
  5307. "lowercase"
  5308. ]
  5309. },
  5310. {
  5311. "id": "sqr-000-017",
  5312. "name": "Log4shell: Attempt to exploit log4j CVE-2021-44228",
  5313. "tags": {
  5314. "type": "exploit_detection",
  5315. "category": "attack_attempt"
  5316. },
  5317. "conditions": [
  5318. {
  5319. "parameters": {
  5320. "inputs": [
  5321. {
  5322. "address": "server.request.uri.raw"
  5323. },
  5324. {
  5325. "address": "server.request.query"
  5326. },
  5327. {
  5328. "address": "server.request.body"
  5329. },
  5330. {
  5331. "address": "server.request.path_params"
  5332. },
  5333. {
  5334. "address": "server.request.headers.no_cookies"
  5335. },
  5336. {
  5337. "address": "grpc.server.request.message"
  5338. }
  5339. ],
  5340. "regex": "\\${[^j]*j[^n]*n[^d]*d[^i]*i[^:]*:[^}]*}"
  5341. },
  5342. "operator": "match_regex"
  5343. }
  5344. ],
  5345. "transformers": []
  5346. },
  5347. {
  5348. "id": "ua0-600-0xx",
  5349. "name": "Joomla exploitation tool",
  5350. "tags": {
  5351. "type": "security_scanner",
  5352. "category": "attack_attempt"
  5353. },
  5354. "conditions": [
  5355. {
  5356. "parameters": {
  5357. "inputs": [
  5358. {
  5359. "address": "server.request.headers.no_cookies",
  5360. "key_path": [
  5361. "user-agent"
  5362. ]
  5363. }
  5364. ],
  5365. "regex": "JDatabaseDriverMysqli"
  5366. },
  5367. "operator": "match_regex"
  5368. }
  5369. ],
  5370. "transformers": []
  5371. },
  5372. {
  5373. "id": "ua0-600-10x",
  5374. "name": "Nessus",
  5375. "tags": {
  5376. "type": "security_scanner",
  5377. "category": "attack_attempt"
  5378. },
  5379. "conditions": [
  5380. {
  5381. "parameters": {
  5382. "inputs": [
  5383. {
  5384. "address": "server.request.headers.no_cookies",
  5385. "key_path": [
  5386. "user-agent"
  5387. ]
  5388. }
  5389. ],
  5390. "regex": "(?i)^Nessus(/|([ :]+SOAP))"
  5391. },
  5392. "operator": "match_regex"
  5393. }
  5394. ],
  5395. "transformers": []
  5396. },
  5397. {
  5398. "id": "ua0-600-12x",
  5399. "name": "Arachni",
  5400. "tags": {
  5401. "type": "security_scanner",
  5402. "category": "attack_attempt"
  5403. },
  5404. "conditions": [
  5405. {
  5406. "parameters": {
  5407. "inputs": [
  5408. {
  5409. "address": "server.request.headers.no_cookies",
  5410. "key_path": [
  5411. "user-agent"
  5412. ]
  5413. }
  5414. ],
  5415. "regex": "^Arachni\\/v"
  5416. },
  5417. "operator": "match_regex"
  5418. }
  5419. ],
  5420. "transformers": []
  5421. },
  5422. {
  5423. "id": "ua0-600-13x",
  5424. "name": "Jorgee",
  5425. "tags": {
  5426. "type": "security_scanner",
  5427. "category": "attack_attempt"
  5428. },
  5429. "conditions": [
  5430. {
  5431. "parameters": {
  5432. "inputs": [
  5433. {
  5434. "address": "server.request.headers.no_cookies",
  5435. "key_path": [
  5436. "user-agent"
  5437. ]
  5438. }
  5439. ],
  5440. "regex": "(?i)\\bJorgee\\b"
  5441. },
  5442. "operator": "match_regex"
  5443. }
  5444. ],
  5445. "transformers": []
  5446. },
  5447. {
  5448. "id": "ua0-600-14x",
  5449. "name": "Probely",
  5450. "tags": {
  5451. "type": "security_scanner",
  5452. "category": "attack_attempt"
  5453. },
  5454. "conditions": [
  5455. {
  5456. "parameters": {
  5457. "inputs": [
  5458. {
  5459. "address": "server.request.headers.no_cookies",
  5460. "key_path": [
  5461. "user-agent"
  5462. ]
  5463. }
  5464. ],
  5465. "regex": "(?i)\\bProbely\\b"
  5466. },
  5467. "operator": "match_regex"
  5468. }
  5469. ],
  5470. "transformers": []
  5471. },
  5472. {
  5473. "id": "ua0-600-15x",
  5474. "name": "Metis",
  5475. "tags": {
  5476. "type": "security_scanner",
  5477. "category": "attack_attempt"
  5478. },
  5479. "conditions": [
  5480. {
  5481. "parameters": {
  5482. "inputs": [
  5483. {
  5484. "address": "server.request.headers.no_cookies",
  5485. "key_path": [
  5486. "user-agent"
  5487. ]
  5488. }
  5489. ],
  5490. "regex": "(?i)\\bmetis\\b"
  5491. },
  5492. "operator": "match_regex"
  5493. }
  5494. ],
  5495. "transformers": []
  5496. },
  5497. {
  5498. "id": "ua0-600-16x",
  5499. "name": "SQL power injector",
  5500. "tags": {
  5501. "type": "security_scanner",
  5502. "category": "attack_attempt"
  5503. },
  5504. "conditions": [
  5505. {
  5506. "parameters": {
  5507. "inputs": [
  5508. {
  5509. "address": "server.request.headers.no_cookies",
  5510. "key_path": [
  5511. "user-agent"
  5512. ]
  5513. }
  5514. ],
  5515. "regex": "sql power injector"
  5516. },
  5517. "operator": "match_regex"
  5518. }
  5519. ],
  5520. "transformers": []
  5521. },
  5522. {
  5523. "id": "ua0-600-18x",
  5524. "name": "N-Stealth",
  5525. "tags": {
  5526. "type": "security_scanner",
  5527. "category": "attack_attempt"
  5528. },
  5529. "conditions": [
  5530. {
  5531. "parameters": {
  5532. "inputs": [
  5533. {
  5534. "address": "server.request.headers.no_cookies",
  5535. "key_path": [
  5536. "user-agent"
  5537. ]
  5538. }
  5539. ],
  5540. "regex": "(?i)\\bn-stealth\\b"
  5541. },
  5542. "operator": "match_regex"
  5543. }
  5544. ],
  5545. "transformers": []
  5546. },
  5547. {
  5548. "id": "ua0-600-19x",
  5549. "name": "Brutus",
  5550. "tags": {
  5551. "type": "security_scanner",
  5552. "category": "attack_attempt"
  5553. },
  5554. "conditions": [
  5555. {
  5556. "parameters": {
  5557. "inputs": [
  5558. {
  5559. "address": "server.request.headers.no_cookies",
  5560. "key_path": [
  5561. "user-agent"
  5562. ]
  5563. }
  5564. ],
  5565. "regex": "(?i)\\bbrutus\\b"
  5566. },
  5567. "operator": "match_regex"
  5568. }
  5569. ],
  5570. "transformers": []
  5571. },
  5572. {
  5573. "id": "ua0-600-1xx",
  5574. "name": "Shellshock exploitation tool",
  5575. "tags": {
  5576. "type": "security_scanner",
  5577. "category": "attack_attempt"
  5578. },
  5579. "conditions": [
  5580. {
  5581. "parameters": {
  5582. "inputs": [
  5583. {
  5584. "address": "server.request.headers.no_cookies",
  5585. "key_path": [
  5586. "user-agent"
  5587. ]
  5588. }
  5589. ],
  5590. "regex": "\\(\\) \\{ :; *\\}"
  5591. },
  5592. "operator": "match_regex"
  5593. }
  5594. ],
  5595. "transformers": []
  5596. },
  5597. {
  5598. "id": "ua0-600-20x",
  5599. "name": "Netsparker",
  5600. "tags": {
  5601. "type": "security_scanner",
  5602. "category": "attack_attempt"
  5603. },
  5604. "conditions": [
  5605. {
  5606. "parameters": {
  5607. "inputs": [
  5608. {
  5609. "address": "server.request.headers.no_cookies",
  5610. "key_path": [
  5611. "user-agent"
  5612. ]
  5613. }
  5614. ],
  5615. "regex": "(?i)(<script>netsparker\\(0x0|ns:netsparker.*=vuln)"
  5616. },
  5617. "operator": "match_regex"
  5618. }
  5619. ],
  5620. "transformers": []
  5621. },
  5622. {
  5623. "id": "ua0-600-22x",
  5624. "name": "JAASCois",
  5625. "tags": {
  5626. "type": "security_scanner",
  5627. "category": "attack_attempt"
  5628. },
  5629. "conditions": [
  5630. {
  5631. "parameters": {
  5632. "inputs": [
  5633. {
  5634. "address": "server.request.headers.no_cookies",
  5635. "key_path": [
  5636. "user-agent"
  5637. ]
  5638. }
  5639. ],
  5640. "regex": "(?i)\\bjaascois\\b"
  5641. },
  5642. "operator": "match_regex"
  5643. }
  5644. ],
  5645. "transformers": []
  5646. },
  5647. {
  5648. "id": "ua0-600-23x",
  5649. "name": "PMAFind",
  5650. "tags": {
  5651. "type": "security_scanner",
  5652. "category": "attack_attempt"
  5653. },
  5654. "conditions": [
  5655. {
  5656. "parameters": {
  5657. "inputs": [
  5658. {
  5659. "address": "server.request.headers.no_cookies",
  5660. "key_path": [
  5661. "user-agent"
  5662. ]
  5663. }
  5664. ],
  5665. "regex": "(?i)\\bpmafind\\b"
  5666. },
  5667. "operator": "match_regex"
  5668. }
  5669. ],
  5670. "transformers": []
  5671. },
  5672. {
  5673. "id": "ua0-600-25x",
  5674. "name": "Webtrends",
  5675. "tags": {
  5676. "type": "security_scanner",
  5677. "category": "attack_attempt"
  5678. },
  5679. "conditions": [
  5680. {
  5681. "parameters": {
  5682. "inputs": [
  5683. {
  5684. "address": "server.request.headers.no_cookies",
  5685. "key_path": [
  5686. "user-agent"
  5687. ]
  5688. }
  5689. ],
  5690. "regex": "webtrends security analyzer"
  5691. },
  5692. "operator": "match_regex"
  5693. }
  5694. ],
  5695. "transformers": []
  5696. },
  5697. {
  5698. "id": "ua0-600-26x",
  5699. "name": "Nsauditor",
  5700. "tags": {
  5701. "type": "security_scanner",
  5702. "category": "attack_attempt"
  5703. },
  5704. "conditions": [
  5705. {
  5706. "parameters": {
  5707. "inputs": [
  5708. {
  5709. "address": "server.request.headers.no_cookies",
  5710. "key_path": [
  5711. "user-agent"
  5712. ]
  5713. }
  5714. ],
  5715. "regex": "(?i)\\bnsauditor\\b"
  5716. },
  5717. "operator": "match_regex"
  5718. }
  5719. ],
  5720. "transformers": []
  5721. },
  5722. {
  5723. "id": "ua0-600-27x",
  5724. "name": "Paros",
  5725. "tags": {
  5726. "type": "security_scanner",
  5727. "category": "attack_attempt"
  5728. },
  5729. "conditions": [
  5730. {
  5731. "parameters": {
  5732. "inputs": [
  5733. {
  5734. "address": "server.request.headers.no_cookies",
  5735. "key_path": [
  5736. "user-agent"
  5737. ]
  5738. }
  5739. ],
  5740. "regex": "(?i)Mozilla/.* Paros/"
  5741. },
  5742. "operator": "match_regex"
  5743. }
  5744. ],
  5745. "transformers": []
  5746. },
  5747. {
  5748. "id": "ua0-600-28x",
  5749. "name": "DirBuster",
  5750. "tags": {
  5751. "type": "security_scanner",
  5752. "category": "attack_attempt"
  5753. },
  5754. "conditions": [
  5755. {
  5756. "parameters": {
  5757. "inputs": [
  5758. {
  5759. "address": "server.request.headers.no_cookies",
  5760. "key_path": [
  5761. "user-agent"
  5762. ]
  5763. }
  5764. ],
  5765. "regex": "(?i)\\bdirbuster\\b"
  5766. },
  5767. "operator": "match_regex"
  5768. }
  5769. ],
  5770. "transformers": []
  5771. },
  5772. {
  5773. "id": "ua0-600-29x",
  5774. "name": "Pangolin",
  5775. "tags": {
  5776. "type": "security_scanner",
  5777. "category": "attack_attempt"
  5778. },
  5779. "conditions": [
  5780. {
  5781. "parameters": {
  5782. "inputs": [
  5783. {
  5784. "address": "server.request.headers.no_cookies",
  5785. "key_path": [
  5786. "user-agent"
  5787. ]
  5788. }
  5789. ],
  5790. "regex": "(?i)\\bpangolin\\b"
  5791. },
  5792. "operator": "match_regex"
  5793. }
  5794. ],
  5795. "transformers": []
  5796. },
  5797. {
  5798. "id": "ua0-600-2xx",
  5799. "name": "Qualys",
  5800. "tags": {
  5801. "type": "security_scanner",
  5802. "category": "attack_attempt"
  5803. },
  5804. "conditions": [
  5805. {
  5806. "parameters": {
  5807. "inputs": [
  5808. {
  5809. "address": "server.request.headers.no_cookies",
  5810. "key_path": [
  5811. "user-agent"
  5812. ]
  5813. }
  5814. ],
  5815. "regex": "(?i)\\bqualys\\b"
  5816. },
  5817. "operator": "match_regex"
  5818. }
  5819. ],
  5820. "transformers": []
  5821. },
  5822. {
  5823. "id": "ua0-600-30x",
  5824. "name": "SQLNinja",
  5825. "tags": {
  5826. "type": "security_scanner",
  5827. "category": "attack_attempt"
  5828. },
  5829. "conditions": [
  5830. {
  5831. "parameters": {
  5832. "inputs": [
  5833. {
  5834. "address": "server.request.headers.no_cookies",
  5835. "key_path": [
  5836. "user-agent"
  5837. ]
  5838. }
  5839. ],
  5840. "regex": "(?i)\\bsqlninja\\b"
  5841. },
  5842. "operator": "match_regex"
  5843. }
  5844. ],
  5845. "transformers": []
  5846. },
  5847. {
  5848. "id": "ua0-600-31x",
  5849. "name": "Nikto",
  5850. "tags": {
  5851. "type": "security_scanner",
  5852. "category": "attack_attempt"
  5853. },
  5854. "conditions": [
  5855. {
  5856. "parameters": {
  5857. "inputs": [
  5858. {
  5859. "address": "server.request.headers.no_cookies",
  5860. "key_path": [
  5861. "user-agent"
  5862. ]
  5863. }
  5864. ],
  5865. "regex": "\\(Nikto/[\\d\\.]+\\)"
  5866. },
  5867. "operator": "match_regex"
  5868. }
  5869. ],
  5870. "transformers": []
  5871. },
  5872. {
  5873. "id": "ua0-600-32x",
  5874. "name": "WebInspect",
  5875. "tags": {
  5876. "type": "security_scanner",
  5877. "category": "attack_attempt"
  5878. },
  5879. "conditions": [
  5880. {
  5881. "parameters": {
  5882. "inputs": [
  5883. {
  5884. "address": "server.request.headers.no_cookies",
  5885. "key_path": [
  5886. "user-agent"
  5887. ]
  5888. }
  5889. ],
  5890. "regex": "(?i)\\bwebinspect\\b"
  5891. },
  5892. "operator": "match_regex"
  5893. }
  5894. ],
  5895. "transformers": []
  5896. },
  5897. {
  5898. "id": "ua0-600-33x",
  5899. "name": "BlackWidow",
  5900. "tags": {
  5901. "type": "security_scanner",
  5902. "category": "attack_attempt"
  5903. },
  5904. "conditions": [
  5905. {
  5906. "parameters": {
  5907. "inputs": [
  5908. {
  5909. "address": "server.request.headers.no_cookies",
  5910. "key_path": [
  5911. "user-agent"
  5912. ]
  5913. }
  5914. ],
  5915. "regex": "(?i)\\bblack\\s?widow\\b"
  5916. },
  5917. "operator": "match_regex"
  5918. }
  5919. ],
  5920. "transformers": []
  5921. },
  5922. {
  5923. "id": "ua0-600-34x",
  5924. "name": "Grendel-Scan",
  5925. "tags": {
  5926. "type": "security_scanner",
  5927. "category": "attack_attempt"
  5928. },
  5929. "conditions": [
  5930. {
  5931. "parameters": {
  5932. "inputs": [
  5933. {
  5934. "address": "server.request.headers.no_cookies",
  5935. "key_path": [
  5936. "user-agent"
  5937. ]
  5938. }
  5939. ],
  5940. "regex": "(?i)\\bgrendel-scan\\b"
  5941. },
  5942. "operator": "match_regex"
  5943. }
  5944. ],
  5945. "transformers": []
  5946. },
  5947. {
  5948. "id": "ua0-600-35x",
  5949. "name": "Havij",
  5950. "tags": {
  5951. "type": "security_scanner",
  5952. "category": "attack_attempt"
  5953. },
  5954. "conditions": [
  5955. {
  5956. "parameters": {
  5957. "inputs": [
  5958. {
  5959. "address": "server.request.headers.no_cookies",
  5960. "key_path": [
  5961. "user-agent"
  5962. ]
  5963. }
  5964. ],
  5965. "regex": "(?i)\\bhavij\\b"
  5966. },
  5967. "operator": "match_regex"
  5968. }
  5969. ],
  5970. "transformers": []
  5971. },
  5972. {
  5973. "id": "ua0-600-36x",
  5974. "name": "w3af",
  5975. "tags": {
  5976. "type": "security_scanner",
  5977. "category": "attack_attempt"
  5978. },
  5979. "conditions": [
  5980. {
  5981. "parameters": {
  5982. "inputs": [
  5983. {
  5984. "address": "server.request.headers.no_cookies",
  5985. "key_path": [
  5986. "user-agent"
  5987. ]
  5988. }
  5989. ],
  5990. "regex": "(?i)\\bw3af\\b"
  5991. },
  5992. "operator": "match_regex"
  5993. }
  5994. ],
  5995. "transformers": []
  5996. },
  5997. {
  5998. "id": "ua0-600-37x",
  5999. "name": "Nmap",
  6000. "tags": {
  6001. "type": "security_scanner",
  6002. "category": "attack_attempt"
  6003. },
  6004. "conditions": [
  6005. {
  6006. "parameters": {
  6007. "inputs": [
  6008. {
  6009. "address": "server.request.headers.no_cookies",
  6010. "key_path": [
  6011. "user-agent"
  6012. ]
  6013. }
  6014. ],
  6015. "regex": "nmap (nse|scripting engine)"
  6016. },
  6017. "operator": "match_regex"
  6018. }
  6019. ],
  6020. "transformers": []
  6021. },
  6022. {
  6023. "id": "ua0-600-39x",
  6024. "name": "Nessus Scripted",
  6025. "tags": {
  6026. "type": "security_scanner",
  6027. "category": "attack_attempt"
  6028. },
  6029. "conditions": [
  6030. {
  6031. "parameters": {
  6032. "inputs": [
  6033. {
  6034. "address": "server.request.headers.no_cookies",
  6035. "key_path": [
  6036. "user-agent"
  6037. ]
  6038. }
  6039. ],
  6040. "regex": "(?i)^'?[a-z0-9]+\\.nasl'?$"
  6041. },
  6042. "operator": "match_regex"
  6043. }
  6044. ],
  6045. "transformers": []
  6046. },
  6047. {
  6048. "id": "ua0-600-3xx",
  6049. "name": "Evil Scanner",
  6050. "tags": {
  6051. "type": "security_scanner",
  6052. "category": "attack_attempt"
  6053. },
  6054. "conditions": [
  6055. {
  6056. "parameters": {
  6057. "inputs": [
  6058. {
  6059. "address": "server.request.headers.no_cookies",
  6060. "key_path": [
  6061. "user-agent"
  6062. ]
  6063. }
  6064. ],
  6065. "regex": "(?i)\\bevilScanner\\b"
  6066. },
  6067. "operator": "match_regex"
  6068. }
  6069. ],
  6070. "transformers": []
  6071. },
  6072. {
  6073. "id": "ua0-600-40x",
  6074. "name": "WebFuck",
  6075. "tags": {
  6076. "type": "security_scanner",
  6077. "category": "attack_attempt"
  6078. },
  6079. "conditions": [
  6080. {
  6081. "parameters": {
  6082. "inputs": [
  6083. {
  6084. "address": "server.request.headers.no_cookies",
  6085. "key_path": [
  6086. "user-agent"
  6087. ]
  6088. }
  6089. ],
  6090. "regex": "(?i)\\bWebFuck\\b"
  6091. },
  6092. "operator": "match_regex"
  6093. }
  6094. ],
  6095. "transformers": []
  6096. },
  6097. {
  6098. "id": "ua0-600-42x",
  6099. "name": "OpenVAS",
  6100. "tags": {
  6101. "type": "security_scanner",
  6102. "category": "attack_attempt"
  6103. },
  6104. "conditions": [
  6105. {
  6106. "parameters": {
  6107. "inputs": [
  6108. {
  6109. "address": "server.request.headers.no_cookies",
  6110. "key_path": [
  6111. "user-agent"
  6112. ]
  6113. }
  6114. ],
  6115. "regex": "(?i)OpenVAS\\b"
  6116. },
  6117. "operator": "match_regex"
  6118. }
  6119. ],
  6120. "transformers": []
  6121. },
  6122. {
  6123. "id": "ua0-600-43x",
  6124. "name": "Spider-Pig",
  6125. "tags": {
  6126. "type": "security_scanner",
  6127. "category": "attack_attempt"
  6128. },
  6129. "conditions": [
  6130. {
  6131. "parameters": {
  6132. "inputs": [
  6133. {
  6134. "address": "server.request.headers.no_cookies",
  6135. "key_path": [
  6136. "user-agent"
  6137. ]
  6138. }
  6139. ],
  6140. "regex": "Powered by Spider-Pig by tinfoilsecurity\\.com"
  6141. },
  6142. "operator": "match_regex"
  6143. }
  6144. ],
  6145. "transformers": []
  6146. },
  6147. {
  6148. "id": "ua0-600-44x",
  6149. "name": "Zgrab",
  6150. "tags": {
  6151. "type": "security_scanner",
  6152. "category": "attack_attempt"
  6153. },
  6154. "conditions": [
  6155. {
  6156. "parameters": {
  6157. "inputs": [
  6158. {
  6159. "address": "server.request.headers.no_cookies",
  6160. "key_path": [
  6161. "user-agent"
  6162. ]
  6163. }
  6164. ],
  6165. "regex": "Mozilla/\\d+.\\d+ zgrab"
  6166. },
  6167. "operator": "match_regex"
  6168. }
  6169. ],
  6170. "transformers": []
  6171. },
  6172. {
  6173. "id": "ua0-600-45x",
  6174. "name": "Zmeu",
  6175. "tags": {
  6176. "type": "security_scanner",
  6177. "category": "attack_attempt"
  6178. },
  6179. "conditions": [
  6180. {
  6181. "parameters": {
  6182. "inputs": [
  6183. {
  6184. "address": "server.request.headers.no_cookies",
  6185. "key_path": [
  6186. "user-agent"
  6187. ]
  6188. }
  6189. ],
  6190. "regex": "(?i)\\bZmEu\\b"
  6191. },
  6192. "operator": "match_regex"
  6193. }
  6194. ],
  6195. "transformers": []
  6196. },
  6197. {
  6198. "id": "ua0-600-46x",
  6199. "name": "Crowdstrike",
  6200. "tags": {
  6201. "type": "security_scanner",
  6202. "category": "attack_attempt"
  6203. },
  6204. "conditions": [
  6205. {
  6206. "parameters": {
  6207. "inputs": [
  6208. {
  6209. "address": "server.request.headers.no_cookies",
  6210. "key_path": [
  6211. "user-agent"
  6212. ]
  6213. }
  6214. ],
  6215. "regex": "(?i)\\bcrowdstrike\\b"
  6216. },
  6217. "operator": "match_regex"
  6218. }
  6219. ],
  6220. "transformers": []
  6221. },
  6222. {
  6223. "id": "ua0-600-47x",
  6224. "name": "GoogleSecurityScanner",
  6225. "tags": {
  6226. "type": "security_scanner",
  6227. "category": "attack_attempt"
  6228. },
  6229. "conditions": [
  6230. {
  6231. "parameters": {
  6232. "inputs": [
  6233. {
  6234. "address": "server.request.headers.no_cookies",
  6235. "key_path": [
  6236. "user-agent"
  6237. ]
  6238. }
  6239. ],
  6240. "regex": "(?i)\\bGoogleSecurityScanner\\b"
  6241. },
  6242. "operator": "match_regex"
  6243. }
  6244. ],
  6245. "transformers": []
  6246. },
  6247. {
  6248. "id": "ua0-600-48x",
  6249. "name": "Commix",
  6250. "tags": {
  6251. "type": "security_scanner",
  6252. "category": "attack_attempt"
  6253. },
  6254. "conditions": [
  6255. {
  6256. "parameters": {
  6257. "inputs": [
  6258. {
  6259. "address": "server.request.headers.no_cookies",
  6260. "key_path": [
  6261. "user-agent"
  6262. ]
  6263. }
  6264. ],
  6265. "regex": "^commix\\/"
  6266. },
  6267. "operator": "match_regex"
  6268. }
  6269. ],
  6270. "transformers": []
  6271. },
  6272. {
  6273. "id": "ua0-600-49x",
  6274. "name": "Gobuster",
  6275. "tags": {
  6276. "type": "security_scanner",
  6277. "category": "attack_attempt"
  6278. },
  6279. "conditions": [
  6280. {
  6281. "parameters": {
  6282. "inputs": [
  6283. {
  6284. "address": "server.request.headers.no_cookies",
  6285. "key_path": [
  6286. "user-agent"
  6287. ]
  6288. }
  6289. ],
  6290. "regex": "^gobuster\\/"
  6291. },
  6292. "operator": "match_regex"
  6293. }
  6294. ],
  6295. "transformers": []
  6296. },
  6297. {
  6298. "id": "ua0-600-4xx",
  6299. "name": "CGIchk",
  6300. "tags": {
  6301. "type": "security_scanner",
  6302. "category": "attack_attempt"
  6303. },
  6304. "conditions": [
  6305. {
  6306. "parameters": {
  6307. "inputs": [
  6308. {
  6309. "address": "server.request.headers.no_cookies",
  6310. "key_path": [
  6311. "user-agent"
  6312. ]
  6313. }
  6314. ],
  6315. "regex": "(?i)\\bcgichk\\b"
  6316. },
  6317. "operator": "match_regex"
  6318. }
  6319. ],
  6320. "transformers": []
  6321. },
  6322. {
  6323. "id": "ua0-600-51x",
  6324. "name": "FFUF",
  6325. "tags": {
  6326. "type": "security_scanner",
  6327. "category": "attack_attempt"
  6328. },
  6329. "conditions": [
  6330. {
  6331. "parameters": {
  6332. "inputs": [
  6333. {
  6334. "address": "server.request.headers.no_cookies",
  6335. "key_path": [
  6336. "user-agent"
  6337. ]
  6338. }
  6339. ],
  6340. "regex": "(?i)^Fuzz Faster U Fool\\b"
  6341. },
  6342. "operator": "match_regex"
  6343. }
  6344. ],
  6345. "transformers": []
  6346. },
  6347. {
  6348. "id": "ua0-600-52x",
  6349. "name": "Nuclei",
  6350. "tags": {
  6351. "type": "security_scanner",
  6352. "category": "attack_attempt"
  6353. },
  6354. "conditions": [
  6355. {
  6356. "parameters": {
  6357. "inputs": [
  6358. {
  6359. "address": "server.request.headers.no_cookies",
  6360. "key_path": [
  6361. "user-agent"
  6362. ]
  6363. }
  6364. ],
  6365. "regex": "(?i)^Nuclei\\b"
  6366. },
  6367. "operator": "match_regex"
  6368. }
  6369. ],
  6370. "transformers": []
  6371. },
  6372. {
  6373. "id": "ua0-600-53x",
  6374. "name": "Tsunami",
  6375. "tags": {
  6376. "type": "security_scanner",
  6377. "category": "attack_attempt"
  6378. },
  6379. "conditions": [
  6380. {
  6381. "parameters": {
  6382. "inputs": [
  6383. {
  6384. "address": "server.request.headers.no_cookies",
  6385. "key_path": [
  6386. "user-agent"
  6387. ]
  6388. }
  6389. ],
  6390. "regex": "(?i)\\bTsunamiSecurityScanner\\b"
  6391. },
  6392. "operator": "match_regex"
  6393. }
  6394. ],
  6395. "transformers": []
  6396. },
  6397. {
  6398. "id": "ua0-600-54x",
  6399. "name": "Nimbostratus",
  6400. "tags": {
  6401. "type": "security_scanner",
  6402. "category": "attack_attempt"
  6403. },
  6404. "conditions": [
  6405. {
  6406. "parameters": {
  6407. "inputs": [
  6408. {
  6409. "address": "server.request.headers.no_cookies",
  6410. "key_path": [
  6411. "user-agent"
  6412. ]
  6413. }
  6414. ],
  6415. "regex": "(?i)\\bnimbostratus-bot\\b"
  6416. },
  6417. "operator": "match_regex"
  6418. }
  6419. ],
  6420. "transformers": []
  6421. },
  6422. {
  6423. "id": "ua0-600-55x",
  6424. "name": "Datadog test scanner: user-agent",
  6425. "tags": {
  6426. "type": "security_scanner",
  6427. "category": "attack_attempt"
  6428. },
  6429. "conditions": [
  6430. {
  6431. "parameters": {
  6432. "inputs": [
  6433. {
  6434. "address": "server.request.headers.no_cookies",
  6435. "key_path": [
  6436. "user-agent"
  6437. ]
  6438. },
  6439. {
  6440. "address": "grpc.server.request.metadata",
  6441. "key_path": [
  6442. "dd-canary"
  6443. ]
  6444. }
  6445. ],
  6446. "regex": "^dd-test-scanner-log$"
  6447. },
  6448. "operator": "match_regex"
  6449. }
  6450. ],
  6451. "transformers": []
  6452. },
  6453. {
  6454. "id": "ua0-600-56x",
  6455. "name": "Datadog test scanner - blocking version: user-agent",
  6456. "tags": {
  6457. "type": "security_scanner",
  6458. "category": "attack_attempt"
  6459. },
  6460. "conditions": [
  6461. {
  6462. "parameters": {
  6463. "inputs": [
  6464. {
  6465. "address": "server.request.headers.no_cookies",
  6466. "key_path": [
  6467. "user-agent"
  6468. ]
  6469. },
  6470. {
  6471. "address": "grpc.server.request.metadata",
  6472. "key_path": [
  6473. "dd-canary"
  6474. ]
  6475. }
  6476. ],
  6477. "regex": "^dd-test-scanner-log-block$"
  6478. },
  6479. "operator": "match_regex"
  6480. }
  6481. ],
  6482. "transformers": [],
  6483. "on_match": [
  6484. "block"
  6485. ]
  6486. },
  6487. {
  6488. "id": "ua0-600-5xx",
  6489. "name": "Blind SQL Injection Brute Forcer",
  6490. "tags": {
  6491. "type": "security_scanner",
  6492. "category": "attack_attempt"
  6493. },
  6494. "conditions": [
  6495. {
  6496. "parameters": {
  6497. "inputs": [
  6498. {
  6499. "address": "server.request.headers.no_cookies",
  6500. "key_path": [
  6501. "user-agent"
  6502. ]
  6503. }
  6504. ],
  6505. "regex": "(?i)\\bbsqlbf\\b"
  6506. },
  6507. "operator": "match_regex"
  6508. }
  6509. ],
  6510. "transformers": []
  6511. },
  6512. {
  6513. "id": "ua0-600-6xx",
  6514. "name": "Suspicious user agent",
  6515. "tags": {
  6516. "type": "security_scanner",
  6517. "category": "attack_attempt"
  6518. },
  6519. "conditions": [
  6520. {
  6521. "parameters": {
  6522. "inputs": [
  6523. {
  6524. "address": "server.request.headers.no_cookies",
  6525. "key_path": [
  6526. "user-agent"
  6527. ]
  6528. }
  6529. ],
  6530. "regex": "mozilla/4\\.0 \\(compatible(; msie 6\\.0; win32)?\\)"
  6531. },
  6532. "operator": "match_regex"
  6533. }
  6534. ],
  6535. "transformers": []
  6536. },
  6537. {
  6538. "id": "ua0-600-7xx",
  6539. "name": "SQLmap",
  6540. "tags": {
  6541. "type": "security_scanner",
  6542. "category": "attack_attempt"
  6543. },
  6544. "conditions": [
  6545. {
  6546. "parameters": {
  6547. "inputs": [
  6548. {
  6549. "address": "server.request.headers.no_cookies",
  6550. "key_path": [
  6551. "user-agent"
  6552. ]
  6553. }
  6554. ],
  6555. "regex": "^sqlmap/"
  6556. },
  6557. "operator": "match_regex"
  6558. }
  6559. ],
  6560. "transformers": []
  6561. },
  6562. {
  6563. "id": "ua0-600-9xx",
  6564. "name": "Skipfish",
  6565. "tags": {
  6566. "type": "security_scanner",
  6567. "category": "attack_attempt"
  6568. },
  6569. "conditions": [
  6570. {
  6571. "parameters": {
  6572. "inputs": [
  6573. {
  6574. "address": "server.request.headers.no_cookies",
  6575. "key_path": [
  6576. "user-agent"
  6577. ]
  6578. }
  6579. ],
  6580. "regex": "(?i)mozilla/5\\.0 sf/"
  6581. },
  6582. "operator": "match_regex"
  6583. }
  6584. ],
  6585. "transformers": []
  6586. }
  6587. ]
  6588. }