spudw2k 231 Posted April 9, 2020 (edited) So, for a long time we've (my work) been using a very poor practice when sharing encrypted email attachments. (step 1, send an email with an encrypted zip; step 2, send the password in a separate email). In order to make exchanging encrypted attachments more secure, I put this tool together. It generates a Password based on a (pre-shared) Key (shared manually via a secure channel), and a Passphrase. The Passphrase is sent along with the encrypted zip and the tool uses the Key & Passphrase to re-generate the password used to encrypt / decrypt the zip. The password is generated by calculating a hash based on the Key and Passphrase, then coverts the first 20 bytes of the produced hash into a human-friendly password. It also uses the CryptProtectData and Unprotect functions put together by funkey to save the Key (per user) in the registry. Source available here:https://github.com/spudw/PassGen_AutoIt Edited June 2, 2020 by spudw2k Spoiler Things I've Made: AOT Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Share this post Link to post Share on other sites