Peb muaj 2 code analyzers, 4 dynamic testing tools, peb tus kheej crafts thiab 250 scripts. Tsis yog txhua qhov no xav tau hauv cov txheej txheem tam sim no, tab sis thaum koj pib siv DevSecOps, koj yuav tsum mus rau qhov kawg.
Tau qhov twg los. Cov cim tsim los ntawm Justin Roiland thiab Dan Harmon.
SecDevOps yog dab tsi? Yuav ua li cas txog DevSecOps? Dab tsi yog qhov txawv? Application Security - nws yog dab tsi? Vim li cas ho tsis classic txoj kev ua haujlwm ntxiv lawm? Tag nrho cov lus nug no paub cov lus teb Yuri Shabalin los ntawm Swordfish Security. Yuriy yuav teb txhua yam kom ntxaws thiab txheeb xyuas cov teeb meem ntawm kev hloov pauv los ntawm classic Application Security qauv mus rau DevSecOps txheej txheem: yuav ua li cas kom zoo rau kev sib koom ua ke ntawm cov txheej txheem kev txhim kho ruaj ntseg rau hauv DevOps txheej txheem thiab tsis ua txhaum dab tsi, yuav ua li cas mus txog cov theem tseem ceeb ntawm kev ntsuam xyuas kev ruaj ntseg, cov cuab yeej siv tau dab tsi, yuav ua li cas lawv txawv thiab yuav ua li cas thiaj li tsim tau lawv kom tsis txhob muaj kev cuam tshuam.
Kev Ruaj Ntseg Champion yog qhov nkag mus rau pab pawg txhim kho thiab tus kws tshaj lij kev ruaj ntseg txhua tus tau dov rau hauv ib qho.
Feem ntau, thaum tus neeg saib xyuas kev ruaj ntseg tuaj rau pab pawg txhim kho thiab taw qhia qhov ua yuam kev hauv txoj cai, nws tau txais cov lus teb xav tsis thoob:
- Thiab koj yog leej twg? Kuv pom koj thawj zaug. Txhua yam ua tau zoo nrog kuv - kuv tus phooj ywg laus tau tso "thov" rau kev tshuaj xyuas cov lej, peb mus ntxiv!
Qhov no yog ib qho xwm txheej, vim tias muaj kev ntseeg ntau dua rau cov neeg laus lossis cov phooj ywg nrog cov neeg tsim tawm tas li cuam tshuam ntawm kev ua haujlwm thiab hauv kev tshuaj xyuas cov cai. Yog tias, tsis yog tus neeg saib xyuas kev nyab xeeb, Tus Thawj Saib Xyuas Kev Ruaj Ntseg taw qhia qhov yuam kev thiab qhov tshwm sim, ces nws cov lus yuav muaj qhov hnyav dua.
Tsis tas li ntawd, cov neeg tsim khoom paub lawv cov cai zoo dua li txhua tus txiv neej kev ruaj ntseg. Rau ib tug neeg uas muaj tsawg kawg yog 5 tej yaam num nyob rau hauv ib tug zoo li qub tsom xam cov cuab yeej, nws yog feem ntau nyuaj rau nco ntsoov tag nrho cov nuances. Kev ruaj ntseg Champions paub lawv cov khoom: dab tsi cuam tshuam nrog dab tsi thiab yuav saib dab tsi hauv thawj qhov chaw - lawv ua haujlwm zoo dua.
Yog li xav txog kev siv Security Champions thiab nthuav tawm kev cuam tshuam ntawm pab pawg neeg ruaj ntseg. Rau tus yeej nws tus kheej, qhov no kuj tseem muaj txiaj ntsig: kev txhim kho kev tshaj lij hauv kev ua haujlwm tshiab, nthuav dav cov txheej txheem thev naus laus zis, siv cov txuj ci, kev tswj hwm thiab kev coj noj coj ua, kev ua lag luam nce nqi. Nov yog qee yam ntawm social engineering, koj "qhov muag" hauv pab pawg txhim kho.
Cov theem xeem
Paradigm 20 x 80 hais tias 20% ntawm kev siv zog muab 80% ntawm cov txiaj ntsig. Cov 20% no yog daim ntawv thov kev soj ntsuam kev coj ua uas tuaj yeem ua tau thiab yuav tsum tau ua haujlwm. Piv txwv ntawm cov dej num no yog kev soj ntsuam zoo li qub - SAST, dynamic tsom xam - DAST ΠΈ qhib qhov chaw tswj. Kuv yuav qhia koj ntxiv txog kev ua ub no, nrog rau cov cuab yeej, cov yam ntxwv dab tsi peb feem ntau ntsib thaum lawv tau nkag mus rau hauv cov txheej txheem, thiab yuav ua li cas kom raug.
Cov cuab yeej tseem ceeb
Kuv yuav qhia txog cov teeb meem uas cuam tshuam rau txhua yam cuab yeej uas xav tau kev saib xyuas. Kuv yuav tshuaj xyuas lawv kom ntxaws ntxiv kom tsis txhob rov hais dua ntxiv.
Qhov no tuaj yeem koom ua ke li cas yog tias koj yog thaum pib ntawm txoj kev taug kev, koj tsis muaj dab tsi: tsis yog CI, lossis Jenkins, lossis TeamCity? Xav txog kev sib koom ua ke.
Kev koom ua ke ntawm qib CVS
Yog tias koj muaj Bitbucket lossis GitLab, koj tuaj yeem ua kev koom ua ke ntawm qib Concurrent Versions System.
Los ntawm kev tshwm sim rub thov, cog lus. Koj luam theej duab cov cai thiab qhia nyob rau hauv cov txheej xwm tsim uas qhov kev ruaj ntseg check dhau los yog ua tsis tau tejyam.
Peb koom ua ke nrog SonarQube - lub plugin tau teeb tsa, txhua yam yooj yim heev thiab txias.
Kev txhim kho ib puag ncig kev koom ua ke
Kev xaiv kev koom ua ke:
Pib ib qho scan los ntawm ib puag ncig kev txhim kho txawm tias ua ntej kev cog lus.
Saib cov txiaj ntsig.
Kev txheeb xyuas cov txiaj ntsig.
Synchronization nrog lub server.
Qhov no yog li cas tau txais txiaj ntsig los ntawm server zoo li.
Nyob rau hauv peb txoj kev loj hlob ib puag ncig Intellij IDEA Cov nws tsuas yog tshwm sim ib yam khoom ntxiv uas hais tias qhov tsis zoo li no tau pom thaum lub scan. Koj tuaj yeem kho cov cai tam sim ntawd, saib cov lus pom zoo thiab flow graph. Tag nrho cov no yog nyob ntawm tus tsim tawm qhov chaw ua haujlwm, uas yog qhov yooj yim heev - koj tsis tas yuav ua raws li qhov txuas ntxiv thiab saib qee yam ntxiv.
qhib Tau qhov twg los
Nov yog lub ncauj lus uas kuv nyiam tshaj. Txhua leej txhua tus siv Open Source cov tsev qiv ntawv - yog vim li cas sau ib pawg ntawm cov ntoo khaub lig thiab lub tsheb kauj vab thaum koj tuaj yeem nqa lub tsev qiv ntawv npaj txhij uas txhua yam tau ua tiav lawm?
Tau kawg, qhov no yog qhov tseeb, tab sis cov tsev qiv ntawv kuj tau sau los ntawm tib neeg, kuj suav nrog qee qhov kev pheej hmoo, thiab kuj tseem muaj qhov tsis zoo uas tau qhia ib ntus, lossis tas li, tshaj tawm. Yog li ntawd, muaj cov kauj ruam tom ntej hauv Daim Ntawv Thov Kev Ruaj Ntseg - qhov no yog kev tsom xam ntawm Open Source Cheebtsam.
Open Source Analysis - OSA
Cov cuab yeej muaj peb kauj ruam loj.
Nrhiav qhov tsis zoo hauv cov tsev qiv ntawv. Piv txwv li, cov cuab yeej paub tias peb tab tom siv qee hom tsev qiv ntawv, thiab hauv CVE los yog nyob rau hauv kab laum trackers muaj qee qhov tsis zoo uas cuam tshuam rau lub tsev qiv ntawv version no. Yog tias koj sim siv nws, lub cuab yeej yuav ceeb toom koj tias lub tsev qiv ntawv muaj qhov tsis zoo, thiab qhia koj kom siv lwm lub version uas tsis muaj qhov tsis zoo.
Kev soj ntsuam ntawm daim ntawv tso cai purity. Qhov no tseem tsis tau nrov nrog peb, tab sis yog tias koj ua hauj lwm nrog ib lub teb chaws txawv teb chaws, ces nyob rau ntawd koj muaj peev xwm ib txwm tau txais kev tawm tsam rau kev siv qhov qhib qhov chaw uas tsis tuaj yeem siv lossis hloov kho. Raws li txoj cai ntawm lub tsev qiv ntawv muaj ntawv tso cai, peb ua tsis tau li no. Los yog, yog tias peb tau hloov kho thiab siv nws, peb yuav tsum tshaj tawm peb cov cai. Tau kawg, tsis muaj leej twg xav tshaj tawm cov cai ntawm lawv cov khoom, tab sis koj tuaj yeem tiv thaiv koj tus kheej los ntawm qhov no.
Kev tshuaj xyuas cov khoom siv uas siv rau hauv ib puag ncig kev lag luam. Xav txog qhov xwm txheej hypothetical uas peb tau ua tiav kev txhim kho thaum kawg thiab tso tawm qhov tseeb tshaj tawm ntawm peb lub microservice rau kev lag luam. Nws nyob qhov ntawd zoo kawg nkaus - ib lub lim tiam, ib hlis, ib xyoos. Peb tsis sau nws, peb tsis ua kev kuaj xyuas kev ruaj ntseg, txhua yam zoo li zoo. Tab sis mam li nco dheev, ob lub lis piam tom qab tso tawm, ib qho kev tsis txaus ntseeg tseem ceeb hauv Open Source tivthaiv tawm, uas peb siv nyob rau hauv lub rooj sib tham tshwj xeeb no, hauv ib puag ncig kev lag luam. Yog tias peb tsis sau dab tsi thiab qhov twg peb siv, ces qhov yooj yim no yuav tsis pom. Qee cov cuab yeej muaj peev xwm los saib xyuas qhov tsis zoo hauv cov tsev qiv ntawv uas tam sim no siv hauv prom. Nws muaj txiaj ntsig heev.
Thaum xa tawm, peb rov kuaj xyuas lub pob nws tus kheej: kev ua tsov ua rog, thawv, DL lossis Docker duab rau qhov tseeb tias nws ua raws li txoj cai.
Thaum nkag mus rau hauv ib puag ncig kev lag luam, peb saib xyuas dab tsi tshwm sim hauv ib puag ncig kev lag luam: qhov teeb meem tseem ceeb tshwm sim lossis tsis tshwm sim.
Dynamic Analysis - DAST
Dynamic tsom xam cov cuab yeej yog qhov txawv ntawm txhua yam uas tau hais ua ntej. Qhov no yog ib hom imitation ntawm tus neeg siv kev ua haujlwm nrog daim ntawv thov. Yog tias qhov no yog daim ntawv thov hauv lub vev xaib, peb xa cov lus thov ua raws li kev ua haujlwm ntawm tus neeg siv khoom, nyem rau ntawm cov nyees khawm nyob rau hauv pem hauv ntej, xa cov ntaub ntawv cuav los ntawm daim ntawv: quotes, brackets, cim nyob rau hauv sib txawv encodings saib seb daim ntawv thov ua hauj lwm thiab txheej txheem sab nraud. cov ntaub ntawv.
Tib qhov system tso cai rau koj los txheeb xyuas qhov tsis zoo ntawm cov qauv hauv Open Source. Txij li thaum DAST tsis paub qhov twg qhib qhov chaw peb siv, nws tsuas cuam tshuam "kev phem" qauv thiab tshuaj xyuas cov neeg rau zaub mov cov lus teb:
- Yog, muaj teeb meem deserialization ntawm no, tab sis tsis nyob ntawm no.
Muaj kev pheej hmoo loj hauv qhov no, vim tias yog tias koj ua qhov kev ntsuam xyuas kev ruaj ntseg ntawm tib qho chaw uas cov neeg sim ua haujlwm nrog, tej yam tsis zoo tuaj yeem tshwm sim.
Siab load ntawm daim ntawv thov server network.
Tsis muaj kev sib koom ua ke.
Lub peev xwm los hloov qhov chaw ntawm daim ntawv thov txheeb xyuas.
Nws yog ib qho tsim nyog xav tias koj tuaj yeem siv qhov no ua ib qho analogue ntawm kev ntsuas kev thauj khoom. Hauv thawj theem, koj tuaj yeem qhib lub tshuab luam ntawv dynamic hauv 10-15 xov thiab pom tias muaj dab tsi tshwm sim, tab sis feem ntau, raws li kev xyaum qhia, tsis muaj dab tsi zoo.
Qee qhov kev pab cuam uas peb feem ntau siv.
Tsim nyog highlighting Chav Suite yog "Swiss riam" rau txhua tus kws tshaj lij kev ruaj ntseg. Txhua tus siv nws thiab nws yooj yim heev. Ib qho tshiab demo version ntawm lub tuam txhab luam tawm tam sim no tau tso tawm. Yog tias ua ntej nws tsuas yog ib qho kev siv hluav taws xob nyob ib leeg nrog plugins, tam sim no cov neeg tsim khoom thaum kawg ua lub server loj uas nws yuav muaj peev xwm tswj hwm ntau tus neeg sawv cev. Nws yog txias, kuv xav kom koj sim nws.
Kev sib xyaw ua ke
Kev sib koom ua ke yog qhov zoo nkauj thiab yooj yim: pib scan tom qab ua tiav installation daim ntawv thov ntawm qhov muag thiab scanning tom qab ua tiav kev sim ua tiav.
Yog tias kev sib koom ua ke tsis ua haujlwm lossis muaj cov stubs thiab cov haujlwm tsis zoo, nws tsis muaj qab hau thiab tsis muaj txiaj ntsig - txawm tias peb xa cov qauv dab tsi, tus neeg rau zaub mov tseem yuav teb tib yam.
Ib me ntsis generalized txog cov txheej txheem nyob rau hauv dav dav thiab hais txog kev ua hauj lwm ntawm txhua lub cuab tam, tshwj xeeb. Txhua daim ntawv thov sib txawv - ib qho ua haujlwm zoo dua nrog kev tsom xam dynamic, lwm qhov nrog kev txheeb xyuas zoo li qub, qhov thib peb nrog OpenSource tsom xam, pentests, lossis lwm yam, piv txwv li, cov xwm txheej nrog Waf.
Txhua txheej txheem yuav tsum tau tswj.
Txhawm rau nkag siab tias cov txheej txheem ua haujlwm li cas thiab qhov twg tuaj yeem txhim kho, koj yuav tsum sau cov ntsuas ntsuas los ntawm txhua yam koj tuaj yeem tau txais koj txhais tes, suav nrog cov ntsuas kev tsim khoom, ntsuas ntsuas los ntawm cov cuab yeej thiab cov ntsuas tsis raug.
Txhua yam ntaub ntawv yuav pab tau. Nws yog ib qho tsim nyog los saib hauv ntau ntu ntawm qhov twg qhov no lossis cov cuab yeej siv tau zoo dua, qhov twg cov txheej txheem tshwj xeeb sags. Tej zaum nws yuav tsim nyog saib ntawm kev txhim kho lub sijhawm teb kom pom qhov twg los txhim kho cov txheej txheem raws li lub sijhawm. Cov ntaub ntawv ntau dua, kev txiav ntau tuaj yeem tsim los ntawm qib siab tshaj plaws mus rau cov ntsiab lus ntawm txhua tus txheej txheem.
Txij li tag nrho cov static thiab dynamic analyzers muaj lawv tus kheej APIs, lawv tus kheej launching txoj kev, cov hauv paus ntsiab lus, ib co muaj teem sij hawm, lwm tus tsis - peb tab tom sau ib lub cuab tam. AppSec Orchestrator, uas tso cai rau koj los ua ib qho kev nkag mus rau tag nrho cov txheej txheem los ntawm cov khoom thiab tswj nws los ntawm ib qho chaw.
Cov thawj coj, cov neeg tsim khoom, thiab cov kws ua haujlwm ruaj ntseg muaj ib qho chaw nkag los ntawm qhov lawv tuaj yeem pom dab tsi tab tom khiav, teeb tsa thiab khiav scans, tau txais cov txiaj ntsig scan, thiab xa cov kev xav tau. Peb sim khiav tawm ntawm daim ntawv, txhais txhua yam rau hauv tib neeg ib qho uas kev txhim kho siv - nplooj ntawv ntawm Confluence nrog cov xwm txheej thiab kev ntsuas, qhov tsis xws hauv Jira lossis hauv ntau yam tsis xws luag, los yog kos rau hauv cov txheej txheem synchronous / asynchronous hauv CI / CD.
Ntsiab Cai
Cov cuab yeej tsis muaj teeb meem. Xav txog cov txheej txheem ua ntej, tom qab ntawd siv cov cuab yeej. Cov cuab yeej zoo, tab sis kim, yog li koj tuaj yeem pib nrog cov txheej txheem thiab kho kom zoo rau kev sib cuam tshuam thiab kev nkag siab ntawm kev txhim kho thiab kev ruaj ntseg. Los ntawm qhov pom ntawm kev ruaj ntseg, tsis tas yuav tsum "tshem" txhua yam ua ke. Los ntawm qhov pom ntawm kev txhim kho, yog tias muaj qee yam loj mega super tseem ceeb, ces qhov no yuav tsum raug tshem tawm, thiab tsis raug kaw rau qhov teeb meem. .
Khoom zoo- hom phiaj ob qho tib si kev ruaj ntseg thiab kev loj hlob. Peb ua ib yam, peb sim xyuas kom meej tias txhua yam ua haujlwm kom raug thiab tsis muaj lub koob npe nrov txaus ntshai thiab kev poob nyiaj txiag. Tias yog vim li cas peb txhawb txoj hauv kev rau DevSecOps, SecDevOps txhawm rau tsim kev sib txuas lus thiab ua kom cov khoom zoo dua.