Advertisement
Plaidstallion

OSINT raw steps (modified)

Jun 26th, 2023 (edited)
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.23 KB | None | 0 0
  1. Updated: January 1, 2022
  2. For use ONLY with Ubuntu 20.04
  3. These will assist with the creation of your custom machine and will be updated as things change
  4. Full usage details are available in the book: https://inteltechniques.com/book1.html
  5. Slight variations may be present for Windows/Mac users (such as 'Next' vs. 'Continue')
  6. Please send any issues to [email protected]
  7. Copyright 2022 Michael Bazzell
  8. These instructions are provided 'as is' without warranty of any kind
  9. In no event shall the copyright holder be liable for any claim, damages or other liability
  10. Full license information and restrictions at https://inteltechniques.com/osintbook8/license.txt
  11.  
  12. -------------------------------------------------------------------------------
  13. VM CREATION
  14. -------------------------------------------------------------------------------
  15. Install, configure, and launch VirtualBox
  16. Download Ubuntu 20.04 Desktop from https://releases.ubuntu.com/20.04/
  17. Within VirtualBox, click on the button labeled 'New'
  18. Provide a name of 'OSINT Original'
  19. Choose your desired location to save the machine on your host
  20. Select 'Linux' as the type, and 'Ubuntu 64-bit' as the version
  21. Click Continue
  22. In the Memory size window, move the slider to select 50% of your system memory
  23. Click Continue
  24. Click Create
  25. Leave the hard disk file type as VDI and click Continue
  26. Select the default option of 'Dynamically allocated' and click Continue
  27. Choose the desired size of your virtual hard drive (40GB+)
  28. Click Create
  29. Click the Settings icon
  30. Click the Storage icon
  31. Click the CD icon which displays 'Empty' in the left menu
  32. Click the small blue circle to the far right in the 'Optical Drive' option
  33. Select 'Choose a Disk File'
  34. Select the Ubuntu 20.04 ISO downloaded previously
  35. Click 'Open' or Choose' if prompted
  36. Click 'OK'
  37. If prompted, confirm the Ubuntu iso
  38. Click 'Start' in the main menu
  39. Click 'Start' again if prompted
  40. Select 'Install Ubuntu'
  41. Select your desired language and location, then click 'Continue'
  42. Select 'Normal Installation', 'Download Updates', and 'Install third party'
  43. Click 'Continue'
  44. Select 'Erase disk and install Ubuntu', then 'Install Now'. Confirm with 'Continue'
  45. Choose your desired time zone and click 'Continue'
  46. Choose a name, user name, computer name, and password of 'osint' for each
  47. Select 'Log in automatically' then 'Continue'
  48. Allow Ubuntu to complete the installation, and choose 'Restart Now'
  49. Click 'Enter' to reboot
  50.  
  51. -------------------------------------------------------------------------------
  52. VM CONFIGURATION
  53. -------------------------------------------------------------------------------
  54. Click 'Skip' then 'Next'
  55. Select 'No' and then 'Next' when asked to help improve Ubuntu
  56. Click 'Next' then 'Done' to remove the welcome screen
  57. If prompted to install updates, click 'Remind me later'
  58. In the VirtualBox Menu, select Devices > 'Insert Guest Additions CD Image'
  59. Click 'Run' when the dialogue box pops up, provide your password when prompted, then 'Authenticate'
  60. Once the process is complete, press enter, and power off the VM (Upper right menu)
  61. In VirtualBox, select your VM and click 'Settings'
  62. In the 'General' icon, click on the 'Advanced' tab
  63. Change 'Shared clipboard' and Drag n Drop' to 'Bidirectional'
  64. In the 'Display' icon, change the Video Memory to the maximum
  65. In the 'Shared Folders' icon, click the green '+'
  66. Click the dropdown menu under 'Folder Path'
  67. Select 'Other'
  68. Choose a desired folder on your host to share data and click 'Open'
  69. Select the 'Auto-mount' option and then 'OK'
  70. Click 'OK' to close the settings window
  71. Click on Start to restart your Ubuntu VM
  72. Resize the window if desired
  73. Resize the VM if desired (View > Virtual Screen > Scale)
  74. In the left dock, right-click and eject the CD
  75. Click the Applications Menu (9 dots) in the lower left and launch Settings
  76. Click 'Notifications' and disable both options
  77. Click the 'Privacy' option, then click 'Screen Lock' and disable all options
  78. Click 'File History & Trash', then disable the option
  79. Click 'Diagnostics', then change to 'Never'
  80. Click the back arrow and click Power, changing 'Blank Screen' to 'Never'
  81. Click 'Automatic Suspend' and disable the feature
  82. Close all Settings windows
  83. Click the Applications Menu and launch Software Updater
  84. Click 'Install Now' to apply all updates
  85. If prompted, restart the VM
  86.  
  87. -------------------------------------------------------------------------------
  88. DISPLAY MODIFICATION
  89. -------------------------------------------------------------------------------
  90. Some readers have reported the inability to resize VM windows within VirtualBox with the "Auto-resize Guest Display" greyed out. The following commands within Terminal of the Linux VM should repair. There is no harm running these if you are unsure.
  91.  
  92. sudo apt update
  93. sudo apt install -y build-essential dkms gcc make perl
  94. sudo rcvboxadd setup
  95. reboot
  96.  
  97. -------------------------------------------------------------------------------
  98. INSTALL OSINT TOOLS-BASIC
  99. -------------------------------------------------------------------------------
  100. sudo adduser osint vboxsf
  101. sudo apt purge -y apport
  102. sudo apt remove -y popularity-contest
  103. sudo snap install vlc
  104. sudo apt update
  105. sudo apt install -y ffmpeg
  106. sudo apt install -y python3-pip
  107. #######sudo -H python3 -m pip install youtube_dl
  108. sudo apt install -y git
  109. sudo pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
  110. sudo -H python3 -m pip install yt-dlp
  111. sudo -H python3 -m pip install youtube-tool
  112. sudo -H python3 -m pip install youtube-comment-downloader
  113. sudo -H python3 -m pip install xeuledoc
  114. cd ~/Desktop
  115. sudo apt install -y curl
  116. curl -O https://inteltechniques.com/data/osintbook8/vm-files.zip
  117. unzip vm-files.zip -d ~/Desktop/
  118. mkdir ~/Documents/scripts
  119. mkdir ~/Documents/icons
  120. cd ~/Desktop/vm-files/scripts
  121. cp * ~/Documents/scripts
  122. cd ~/Desktop/vm-files/icons
  123. cp * ~/Documents/icons
  124. cd ~/Desktop/vm-files/shortcuts
  125. sudo cp * /usr/share/applications/
  126. cd ~/Desktop
  127. rm vm-files.zip
  128. rm -rf vm-files
  129. sudo -H python3 -m pip install streamlink
  130. sudo -H python3 -m pip install Instalooter
  131. sudo -H python3 -m pip install Instaloader
  132. sudo snap install gallery-dl
  133. sudo apt install -y git
  134. mkdir ~/Downloads/Programs
  135. cd ~/Downloads/Programs
  136. git clone https://github.com/sherlock-project/sherlock.git
  137. cd sherlock
  138. sudo -H python3 -m pip install -r requirements.txt -I
  139. sudo -H python3 -m pip install socialscan -I
  140. sudo -H python3 -m pip install holehe -I
  141. cd ~/Downloads/Programs
  142. git clone https://github.com/WebBreacher/WhatsMyName.git
  143. cd WhatsMyName
  144. sudo -H python3 -m pip install -r requirements.txt -I
  145. cd ~/Downloads/Programs
  146. git clone https://github.com/ChrisTruncer/EyeWitness.git
  147. cd EyeWitness/Python/setup
  148. sudo -H ./setup.sh
  149. sudo snap install amass
  150. cd ~/Downloads/Programs
  151. git clone https://github.com/aboul3la/Sublist3r.git
  152. cd Sublist3r
  153. sudo -H python3 -m pip install -r requirements.txt -I
  154. cd ~/Downloads/Programs
  155. git clone https://github.com/s0md3v/Photon.git
  156. cd Photon && sudo -H python3 -m pip install -r requirements.txt -I
  157. cd ~/Downloads/Programs
  158. git clone https://github.com/laramies/theHarvester.git
  159. cd theHarvester
  160. sudo -H python3 -m pip install -r requirements.txt -I
  161. sudo -H python3 -m pip install pipenv -I
  162. sudo -H python3 -m pip install webscreenshot -I
  163. sudo add-apt-repository -y ppa:micahflee/ppa
  164. sudo apt -y update
  165. sudo apt install -y torbrowser-launcher
  166. cd ~/Downloads
  167. wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  168. sudo apt install -y ./google-chrome-stable_current_amd64.deb
  169. sudo rm google-chrome-stable_current_amd64.deb
  170. sudo apt install -y mediainfo-gui
  171. sudo apt install -y libimage-exiftool-perl
  172. sudo apt install -y mat2
  173. sudo apt install -y webhttrack
  174. wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
  175. sudo apt install -y ./google-earth-stable_current_amd64.deb
  176. sudo rm google-earth-stable_current_amd64.deb
  177. sudo apt install -y kazam
  178. sudo snap install keepassxc
  179. sudo apt update --fix-missing
  180. sudo apt -y upgrade
  181. sudo apt --fix-broken install
  182. sudo -H pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 sudo -H python3 -m pip install -U
  183. reboot
  184.  
  185. -------------------------------------------------------------------------------
  186. INSTALL FIREFOX PROFILE
  187. -------------------------------------------------------------------------------
  188. Launch and then close Firefox
  189. Click the Applications Menu, launch Terminal, and execute the following commands
  190. cd ~/Desktop
  191. curl -O https://inteltechniques.com/data/osintbook8/ff-template.zip
  192. unzip ff-template.zip -d ~/.mozilla/firefox/
  193. cd ~/.mozilla/firefox/ff-template/
  194. cp -R * ~/.mozilla/firefox/*.default-release
  195. cd ~/Desktop
  196. rm ff-template.zip
  197.  
  198. -------------------------------------------------------------------------------
  199. INSTALL SEARCH TOOLS
  200. -------------------------------------------------------------------------------
  201. cd ~/Desktop
  202. curl -O https://inteltechniques.com/data/osintbook8/tools.zip
  203. unzip tools.zip -d ~/Desktop/
  204. rm tools.zip
  205.  
  206. -------------------------------------------------------------------------------
  207. INSTALL OSINT TOOLS-ADVANCED
  208. -------------------------------------------------------------------------------
  209. cd ~/Downloads/Programs
  210. git clone https://github.com/opsdisk/metagoofil.git
  211. cd metagoofil
  212. sudo -H python3 -m pip install -r requirements.txt -I
  213. cd ~/Downloads/Programs
  214. git clone https://github.com/lanmaster53/recon-ng.git
  215. cd recon-ng
  216. sudo -H python3 -m pip install -r REQUIREMENTS -I
  217. cd ~/Downloads/Programs
  218. git clone https://github.com/smicallef/spiderfoot.git
  219. cd spiderfoot
  220. sudo -H python3 -m pip install -r requirements.txt -I
  221. cd ~/Downloads/Programs
  222. git clone https://github.com/AmIJesse/Elasticsearch-Crawler.git
  223. sudo -H python3 -m pip install nested-lookup -I
  224. sudo -H python3 -m pip install internetarchive -I
  225. sudo apt install -y ripgrep
  226. sudo -H python3 -m pip install bdfr -I
  227. sudo -H python3 -m pip install redditsfinder -I
  228. sudo -H python3 -m pip install waybackpy -I
  229. sudo -H python3 -m pip install testresources -I
  230.  
  231. -------------------------------------------------------------------------------
  232. USER INTERFACE CONFIGURATION
  233. -------------------------------------------------------------------------------
  234. gsettings set org.gnome.desktop.background picture-uri ''
  235. gsettings set org.gnome.desktop.background primary-color 'rgb(66, 81, 100)'
  236. gsettings set org.gnome.shell favorite-apps []
  237. gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
  238. gsettings set org.gnome.shell favorite-apps "['firefox.desktop', 'google-chrome.desktop', 'torbrowser.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Terminal.desktop', 'updates.desktop', 'tools.desktop', 'youtube_dl.desktop', 'ffmpeg.desktop', 'streamlink.desktop', 'instagram.desktop', 'gallery.desktop', 'usertool.desktop', 'eyewitness.desktop', 'domains.desktop', 'metadata.desktop', 'httrack.desktop', 'metagoofil.desktop', 'elasticsearch.desktop', 'reddit.desktop', 'internetarchive.desktop', 'spiderfoot.desktop', 'recon-ng.desktop', 'mediainfo-gui.desktop', 'google-earth-pro.desktop', 'kazam.desktop', 'keepassxc_keepassxc.desktop', 'gnome-control-center.desktop']"
  239. gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 32
  240.  
  241. -------------------------------------------------------------------------------
  242. INSTALL SHERLOQ (OPTIONAL)
  243. -------------------------------------------------------------------------------
  244. cd ~/Downloads/Programs
  245. mkdir Sherloq
  246. cd Sherloq
  247. sudo apt install python3-distutils python3-dev python3-testresources subversion -y
  248. git clone https://github.com/GuidoBartoli/sherloq.git
  249. cd sherloq/gui
  250. sudo -H python3 -m pip install -r requirements.txt -I
  251. curl -u osint8:book4529zw -O https://inteltechniques.com/osintbook8/vm-files/shortcuts/sherloq.desktop
  252. sudo mv sherloq.desktop /usr/share/applications/
  253. cd /usr/share/applications/
  254. sudo chown --reference=usertool.desktop sherloq.desktop
  255. sudo chmod +x sherloq.desktop
  256.  
  257. -------------------------------------------------------------------------------
  258. SOFTWARE UPDATES
  259. -------------------------------------------------------------------------------
  260. sudo apt update
  261. sudo apt -y upgrade
  262. sudo snap refresh
  263. sudo apt update --fix-missing
  264. sudo apt --fix-broken install
  265. sudo -H pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 sudo -H python3 -m pip install -U
  266. cd ~/Downloads/Programs/EyeWitness
  267. git pull https://github.com/ChrisTruncer/EyeWitness.git
  268. cd ~/Downloads/Programs/Sublist3r
  269. git pull https://github.com/aboul3la/Sublist3r.git
  270. cd ~/Downloads/Programs/Photon
  271. git pull https://github.com/s0md3v/Photon.git
  272. cd ~/Downloads/Programs/theHarvester
  273. git pull https://github.com/laramies/theHarvester.git
  274. cd ~/Downloads/Programs/sherlock
  275. git pull https://github.com/sherlock-project/sherlock.git
  276. cd ~/Downloads/Programs/WhatsMyName
  277. git pull https://github.com/WebBreacher/WhatsMyName.git
  278. cd ~/Downloads/Programs/metagoofil
  279. git pull https://github.com/opsdisk/metagoofil.git
  280. cd ~/Downloads/Programs/sherloq
  281. git pull https://github.com/GuidoBartoli/sherloq.git
  282. cd ~/Downloads/Programs/recon-ng
  283. git pull https://github.com/lanmaster53/recon-ng.git
  284. cd ~/Downloads/Programs/spiderfoot
  285. git pull https://github.com/smicallef/spiderfoot.git
  286. cd ~/Downloads/Programs/Elasticsearch-Crawler
  287. git pull https://github.com/AmIJesse/Elasticsearch-Crawler.git
  288. sudo apt autoremove -y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement