匿名用户2021年12月24日
115阅读

技术信息

系统类型
Web3
授权协议
Readme

作品详情

Braiflayer

BraiflayerisaProof-of-Coceptbraiwalletcrackigtoolthatuseslibsecp256k1forpubkeygeeratio.ItwasorigiallyreleasedaspartofmyDEFCONtalkaboutcrackigbraiwallets(slides,video,why).

TheameisareferecetoMidFlayers,araceofmostersfromtheDugeos&Dragosrole-playiggame.Theyeatbrais,psioicallyeslavepeopleadlooklikelovecraftiahorrors.

ThecurretreleaseismorethafourtimesfasterthatheDEFCONrelease,admayfeatureshavebeeadded.

Ifbraiflayerisusefultoyou,pleasegetitouchtoletmekow.I'mveryiterestediayresearchit'sbeigusedfor,adI'mgeerallyhappytocollaboratewithacademicgroups.

Disclaimer

Justbecauseyoucastealsomeoe'smoeydoes'tmeayoushould.Stealigwouldmakeyouajerk.Do'tbeajerk.

Nosupportwillbeprovidedatthistime,adImayigoreorcloseissuesrequestigsupportwithoutrespodig.

THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORS"ASIS"ANDANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOFMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEAREDISCLAIMED.INNOEVENTSHALLTHECOPYRIGHTHOLDERORCONTRIBUTORSBELIABLEFORANYDIRECT,INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENTOFSUBSTITUTEGOODSORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICTLIABILITY,ORTORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAYOUTOFTHEUSEOFTHISSOFTWARE,EVENIFADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGE.

UsageBasic

Precomputethebloomfilter:

hex2blfexample.hexexample.blf

RuBraiflayeragaistit:

braiflayer-v-bexample.blf-iphraselist.txt

or

your_geerator|braiflayer-v-bexample.blf

Advaced

Braiflayer'sdesigisheavilyifluecedbyUixphilosophy.It(mostly)doesoethig:hutfortastybraiwallets.Amajorfeatureitdoesothaveisgeeratigcadidatepasswords/passphrases.Therearepletyofothergreattoolsthatdothat,adbraiflayerishappytohaveyoupipetheiroutputtoit.

Ufortuately,braiflayerisotcurretlymultithreaded.Ifyouwattohaveitkeepmultiplecoresbusy,you'llhavetocomeupwithawaytodistributetheworkyourself(braiflayer's-ad-koptiosmayhelp).Imytestig,braiflayerbeefitssigificatlyfromhyperthreadig,soyoumaywattorutwocopiesperphysicalcore.Alsoworthotigisthatbraiflayermmapsitsdatafilesisharedmemory,soadditioalbraiflayerprocessesdootuseupthatmuchadditioalRAM.

Whileotstrictlyrequired,itishighlyrecommededtousethefollowigoptios:

-mFILELoadtheecmulttablefromFILE(geeratedwithecmtabge)ratherthacomputigitostartup.Thiswillallowmultiplebraiflayerprocessestosharethesametableimemory,adsigifigatlyreducestartuptimewheusigalargetable.

-fFILEVerifycheckbloomfiltermatchesagaistFILE,alistofallhash160sgeeratedwithsort-uexample.hex|xxd-r-p>example.biEoughaddressesexistotheBitcoietworktocausefalsepositivesithebloomfilter,thisoptiowillsuppressthem.

Braiflayersupportsafewothertypesofiputviathe-toptio:

-tkeccakpassphrasestobehashedwithkeccak256(someethereumtools)

-tprivrawprivatekeys-thiscabeusedtosupportarbitrarydetermiisticwalletschemesviaaexteralprogram.Aytrailigdataafterthehexecodedprivatekeywillbeicludedibraiflayer'soutputaswell,forreferece.Seealsothe-Ioptioifyouwattocrackabuchofsequetialkeys,whichhasspecialspeedoptimizatios.

-twarpsaltsorpasswords/passphrasesforWarpWallet

-tbwiosaltsorpasswords/passphrasesforbraiwallet.io

-tbv2saltsorpasswords/passphrasesforbraiv2-thisoeisveryslowoCPU,howevertheparameterchoicesmakeitagreattargetforGPUsadFPGAs.

-trushpasswordsforpassword-protectedrushwallets-passthefragmet(thepartoftheurlafterthe#)usig-r.Almostallwrogpasswordswillberejectedevewithoutabloomfilter.

Addresstypescabespecifiedwiththe-coptio:

-cuucompressedaddresses

-cccompressedaddresses

-ceethereumaddresses

-cxmostsigifigatbitsofpublicpoit'sxcoordiate

It'spossibletocombietwoormoreofthese,e.g.thedefaultis-cuc.

Aicremetalprivatekeybruteforcemodeisavailableforfasofdirectory.io,try

braiflayer-v-I0000000000000000000000000000000000000000000000000000000000000001-bexample.blf

Seetheoutputofbraiflayer-hformoredetailedusageifo.

Alsoicludedisblfchk-youcapipeithexecodedhash160tocheckabloomfilterfilefor.It'sveryfast-itcaeasilycheckmilliosofhash160spersecod.NotetirelysurewhatthisisgoodforbutI'msureyou'llcomeupwithsomethig.

Buildig

ShouldcompileoLiuxwithmakeprovidedyouhavetherequireddevellibsistalled(atleastopessladgmparerequiredalogwithlibsecp256k1'sbuilddepedecies).Ireallyeedtolearautotools.Ifyoufileaissueaboutabuildfailureilibsecp256k1Iwillcloseit.

Depedeciesshouldistallwith

aptistallbuild-essetiallibgmp-devlibssl-dev

SupportedbuildtargetiscurretlyUbutu20.04oamd64/x86_64.Issueswithbuildigforotherplatformsprobablywo’tbefixed.Iparticular,KaliLiuxisotsupported.SupportforoperatigsystemsotherthaLiuxwouldrequireextesiverefactorigofBraiflayer'smemoryoptimizatiosadisothappeig.

Redistributioofcompiledbraiflayerbiariesisprohibited,aduauthorizedbiariesprobablycotaimalware.

Authors

ThebulkofBraiflayerwaswrittebyRyaCastellucci.NicolasCourtoisadGuagyaSogcotributedthecodeiec_pubkey_fast.cwhichmorethadoublesthespeedofpublickeycomputatioscomparedwiththestocksecp256k1libraryfromBitcoi.Thiscodeusesamuchlargertableforecmultiplicatioadoptimizedroutiesforecadditioaddoublig.

功能介绍

Brainflayer Brainflayer is a Proof-of-Concept brainwallet cracking tool that uses libsecp256k1 fo...

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论