Advertisement
Guest User

Veil 3.0 sucks

a guest
May 5th, 2018
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.56 KB | None | 0 0
  1. ╼ $sudo /opt/Veil/config/setup.sh --force --silent
  2. [sudo] password for moonshine:
  3. ==========================================================================
  4. Veil (Setup Script) | [Updated]: 2018-04-29
  5. ==========================================================================
  6. [Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
  7. ==========================================================================
  8.  
  9. os = parrot
  10. osversion = 4.0-beta
  11. osmajversion = 4
  12. arch = x86_64
  13. trueuser = root
  14. userprimarygroup = root
  15. userhomedir = /root
  16. rootdir = /opt/Veil
  17. veildir = /var/lib/veil
  18. outputdir = /var/lib/veil/output
  19. dependenciesdir = /var/lib/veil/setup-dependencies
  20. winedir = /var/lib/veil/wine
  21. winedrive = /var/lib/veil/wine/drive_c
  22. gempath = Z:\var\lib\veil\wine\drive_c\Ruby187\bin\gem
  23.  
  24. [I] Parrot Security 4.0-beta x86_64 detected...
  25.  
  26. [I] Silent Mode: Enabled
  27. [I] Force Mode: Enabled
  28.  
  29.  
  30. [?] Are you sure you wish to install Veil?
  31.  
  32. Continue with installation? ([y]es/[s]ilent/[N]o): S
  33.  
  34.  
  35.  
  36. [*] Initializing package installation
  37.  
  38.  
  39.  
  40. [*] Installing dependencies
  41.  
  42. [*] Updating APT
  43.  
  44. Reading package lists... Done
  45. Building dependency tree
  46. Reading state information... Done
  47. git is already the newest version (1:2.17.0-1).
  48. mingw-w64 is already the newest version (5.0.3-1).
  49. mono-mcs is already the newest version (4.6.2.7+dfsg-1).
  50. python3 is already the newest version (3.6.4-1).
  51. ruby is already the newest version (1:2.5.0).
  52. sudo is already the newest version (1.8.21p2-3).
  53. unzip is already the newest version (6.0-21).
  54. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  55.  
  56.  
  57. [*] Installing Python's pycrypto (via apt)...
  58.  
  59. Reading package lists... Done
  60. Building dependency tree
  61. Reading state information... Done
  62. python3-crypto is already the newest version (2.6.1-9).
  63. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  64. Reading package lists... Done
  65. Building dependency tree
  66. Reading state information... Done
  67. metasploit-framework is already the newest version (4.16.48-1parrot1).
  68. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  69.  
  70.  
  71. [*] Pulling down binary dependencies
  72.  
  73. [*] Empty folder... git cloning
  74.  
  75. Cloning into '/var/lib/veil/setup-dependencies'...
  76. remote: Counting objects: 12, done.
  77. remote: Total 12 (delta 0), reused 0 (delta 0), pack-reused 12
  78. Unpacking objects: 100% (12/12), done.
  79.  
  80.  
  81. [*] Installing Wine
  82.  
  83. [*] Already have x86 architecture added...
  84.  
  85.  
  86.  
  87. [*] Installing Wine 32-bit and 64-bit binaries (via APT)
  88.  
  89.  
  90.  
  91. [*] [ALERT]: Existing Veil Wine environment detected at: /var/lib/veil/wine
  92.  
  93. Do you want to nuke it? ([y]es/[N]o): Y
  94.  
  95. [*] Deleting existing Veil Wine environment...
  96.  
  97. [*] Creating new Veil Wine environment in: /var/lib/veil/wine
  98.  
  99. [*] Initializing Veil's Wine environment...
  100.  
  101. 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
  102. 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
  103. 0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
  104. 0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
  105. 0012:err:ole:get_local_server_stream Failed: 80004002
  106. 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
  107. 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
  108. 0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
  109. 0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
  110. 0014:err:ole:get_local_server_stream Failed: 80004002
  111. Could not load wine-gecko. HTML rendering will be disabled.
  112. wine: configuration in '/var/lib/veil/wine' has been updated.
  113. Could not load wine-gecko. HTML rendering will be disabled.
  114. wine: configuration in '/var/lib/veil/wine' has been updated.
  115. [*] Veil Wine environment successfully created!
  116.  
  117.  
  118.  
  119. [*] Finished package installation
  120.  
  121.  
  122.  
  123. [*] Initializing (OS + Wine) Python dependencies installation...
  124.  
  125.  
  126.  
  127. [*] Installing (Wine) Python...
  128.  
  129. [*] Next -> Next -> Next -> Finished! ...Overwrite if prompt (use default values)
  130.  
  131. Reading profile /etc/firejail/wine.profile
  132. Reading profile /etc/firejail/disable-common.inc
  133. Reading profile /etc/firejail/disable-devel.inc
  134. Reading profile /etc/firejail/disable-programs.inc
  135. Warning: noroot option is not available
  136. Parent pid 14761, child pid 14762
  137. The new log directory is /proc/14762/root/var/log
  138. Child process initialized in 556.35 ms
  139. No protocol specified
  140. wineserver: could not save registry branch to system.reg : Read-only file system
  141. wineserver: could not save registry branch to user.reg : Read-only file system
  142.  
  143. Parent is shutting down, bye...
  144.  
  145.  
  146. [*] Installing (Wine) Python dependencies...
  147.  
  148.  
  149.  
  150. [*] Installing (Wine) Python's pywin32-220.win32-py3.4.exe...
  151.  
  152. [*] Next -> Next -> Next -> Finished! ...Overwrite if prompt (use default values)
  153.  
  154. warning [pywin32-220.win32-py3.4.exe]: 192288 extra bytes at beginning or within zipfile
  155. (attempting to process anyway)
  156. cp: target '/var/lib/veil/wine/drive_c/Python34/Lib/site-packages/' is not a directory
  157. cp: target '/var/lib/veil/wine/drive_c/Python34/Scripts/' is not a directory
  158. Reading profile /etc/firejail/wine.profile
  159. Reading profile /etc/firejail/disable-common.inc
  160. Reading profile /etc/firejail/disable-devel.inc
  161. Reading profile /etc/firejail/disable-programs.inc
  162. Warning: noroot option is not available
  163. wine: cannot find '/var/lib/veil/wine/drive_c/Python34/python.exe'
  164. wineserver: could not save registry branch to system.reg : Read-only file system
  165.  
  166.  
  167. [*] Installing (Wine) Python's pycrypto-2.6.1.win32-py3.4.exe...
  168.  
  169. [*] Next -> Next -> Next -> Finished! ...Overwrite if prompt (use default values)
  170.  
  171. warning [pycrypto-2.6.1.win32-py3.4.exe]: 191515 extra bytes at beginning or within zipfile
  172. (attempting to process anyway)
  173. cp: target '/var/lib/veil/wine/drive_c/Python34/Lib/site-packages/' is not a directory
  174.  
  175.  
  176. [*] Installing (OS) Python's PyInstaller (via TAR)
  177.  
  178.  
  179.  
  180. [*] Installing (Wine) Python's PIP pefile
  181.  
  182. Reading profile /etc/firejail/wine.profile
  183. Reading profile /etc/firejail/disable-common.inc
  184. Reading profile /etc/firejail/disable-devel.inc
  185. Reading profile /etc/firejail/disable-programs.inc
  186. Warning: noroot option is not available
  187. Parent pid 14850, child pid 14851
  188. The new log directory is /proc/14851/root/var/log
  189. Child process initialized in 490.13 ms
  190. wine: cannot find '/var/lib/veil/wine/drive_c/Python34/python.exe'
  191. wineserver: could not save registry branch to system.reg : Read-only file system
  192.  
  193. Parent is shutting down, bye...
  194. Reading profile /etc/firejail/wine.profile
  195. Reading profile /etc/firejail/disable-common.inc
  196. Reading profile /etc/firejail/disable-devel.inc
  197. Reading profile /etc/firejail/disable-programs.inc
  198. Warning: noroot option is not available
  199. Parent pid 14858, child pid 14859
  200. The new log directory is /proc/14859/root/var/log
  201. Child process initialized in 470.20 ms
  202. wine: cannot find '/var/lib/veil/wine/drive_c/Python34/python.exe'
  203. wineserver: could not save registry branch to system.reg : Read-only file system
  204.  
  205. Parent is shutting down, bye...
  206. Reading profile /etc/firejail/wine.profile
  207. Reading profile /etc/firejail/disable-common.inc
  208. Reading profile /etc/firejail/disable-devel.inc
  209. Reading profile /etc/firejail/disable-programs.inc
  210. Warning: noroot option is not available
  211. Parent pid 14868, child pid 14869
  212. The new log directory is /proc/14869/root/var/log
  213. Child process initialized in 79.42 ms
  214. wine: cannot find '/var/lib/veil/wine/drive_c/Python34/python.exe'
  215. wineserver: could not save registry branch to system.reg : Read-only file system
  216.  
  217. Parent is shutting down, bye...
  218.  
  219.  
  220. [*] Finished (Wine + OS) Python dependencies installation
  221.  
  222.  
  223.  
  224. [*] Initializing (Wine) Ruby installation...
  225.  
  226.  
  227.  
  228. [*] Installing (Wine) Ruby & dependencies
  229.  
  230. [*] Next -> Next -> Next -> Finished! ...Overwrite if prompt (use default values)
  231.  
  232. Reading profile /etc/firejail/wine.profile
  233. Reading profile /etc/firejail/disable-common.inc
  234. Reading profile /etc/firejail/disable-devel.inc
  235. Reading profile /etc/firejail/disable-programs.inc
  236. Warning: noroot option is not available
  237. Parent pid 14879, child pid 14880
  238. The new log directory is /proc/14880/root/var/log
  239. Child process initialized in 454.05 ms
  240. No protocol specified
  241. 0009:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  242. 0009:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
  243. wineserver: could not save registry branch to system.reg : Read-only file system
  244. wineserver: could not save registry branch to user.reg : Read-only file system
  245.  
  246. Parent is shutting down, bye...
  247.  
  248.  
  249. [*] Installing (Wine) Ruby OCRA gem...
  250.  
  251. Reading profile /etc/firejail/wine.profile
  252. Reading profile /etc/firejail/disable-common.inc
  253. Reading profile /etc/firejail/disable-devel.inc
  254. Reading profile /etc/firejail/disable-programs.inc
  255. Warning: noroot option is not available
  256. Parent pid 14922, child pid 14923
  257. The new log directory is /proc/14923/root/var/log
  258. Child process initialized in 367.01 ms
  259. No protocol specified
  260.  
  261. Z:\var\lib\veil\setup-dependencies>Z:\var\lib\veil\wine\drive_c\Ruby187\bin\gem install --force --local ocra-1.3.6.gem
  262. Can't recognize 'Z:\var\lib\veil\wine\drive_c\Ruby187\bin\gem install --force --local ocra-1.3.6.gem' as an internal or external command, or batch script.
  263. wineserver: could not save registry branch to system.reg : Read-only file system
  264. wineserver: could not save registry branch to user.reg : Read-only file system
  265.  
  266. Parent is shutting down, bye...
  267.  
  268.  
  269. [*] Extracting (Wine) Ruby dependencies...
  270.  
  271.  
  272.  
  273. [*] Finished Ruby installation
  274.  
  275.  
  276.  
  277. [*] Initializing Go installation...
  278.  
  279.  
  280.  
  281. [*] Installing Go x86_64 (via TAR)
  282.  
  283.  
  284.  
  285. [*] Finished Go installation
  286.  
  287.  
  288.  
  289. [*] Initializing AutoIT installation...
  290.  
  291.  
  292.  
  293. [*] Installing (Wine) AutoIT
  294.  
  295. [*] Next -> Next -> Next -> Finished! ...Overwrite if prompt (use default values)
  296.  
  297. Reading profile /etc/firejail/wine.profile
  298. Reading profile /etc/firejail/disable-common.inc
  299. Reading profile /etc/firejail/disable-devel.inc
  300. Reading profile /etc/firejail/disable-programs.inc
  301. Warning: noroot option is not available
  302. Parent pid 14981, child pid 14982
  303. The new log directory is /proc/14982/root/var/log
  304. Child process initialized in 460.50 ms
  305. No protocol specified
  306. wineserver: could not save registry branch to system.reg : Read-only file system
  307. wineserver: could not save registry branch to user.reg : Read-only file system
  308.  
  309. Parent is shutting down, bye...
  310.  
  311.  
  312. [*] Finished AutoIT installation
  313.  
  314.  
  315.  
  316. [*] Updating Veil configuration...
  317.  
  318. [*] Detected current Veil settings. Removing...
  319.  
  320. [>] Please enter the directory of the Metasploit Framework (e.g. /opt/metasploit-framework/embedded/framework/): /usr/share/metasploit-framework/
  321. [>] Please enter the directory of msfvenom (e.g. /usr/bin/): /usr/bin/
  322.  
  323. Veil Configuration:
  324. [*] OPERATING_SYSTEM = Linux
  325. [*] TERMINAL_CLEAR = clear
  326. [*] VEIL_PATH = /opt/Veil/
  327. [*] WINEPREFIX = /var/lib/veil/wine/
  328. [*] TEMP_PATH = /tmp/
  329. [*] METASPLOIT_PATH = /usr/share/metasploit-framework/
  330. [*] MSFVENOM_PATH = /usr/bin/
  331. [*] MSFVENOM_OPTIONS =
  332. [*] PYINSTALLER_PATH = /var/lib/veil/PyInstaller-3.2.1/
  333. [*] GOLANG_PATH = /var/lib/veil/go/
  334.  
  335.  
  336.  
  337. Veil-Evasion Configuration:
  338. [*] PAYLOAD_SOURCE_PATH = /var/lib/veil/output/source/
  339. [*] PAYLOAD_COMPILED_PATH = /var/lib/veil/output/compiled/
  340. [*] HANDLER_PATH = /var/lib/veil/output/handlers/
  341. [*] HASH_LIST = /var/lib/veil/output/hashes.txt
  342. [I] Path '/etc/veil/' Created
  343. [I] Configuration File Written To: '/etc/veil/settings.py'
  344.  
  345.  
  346.  
  347. [*] Ensuring this account (root) owns veil output directory (/var/lib/veil/output)...
  348.  
  349. [*] Ensuring this account (root) has correct ownership of /var/lib/veil/wine
  350.  
  351.  
  352.  
  353. [*] Finished Veil configuration...
  354.  
  355.  
  356.  
  357. [*] Finished environment checks
  358.  
  359.  
  360.  
  361. [I] If you have any errors running Veil, run: './Veil.py --setup' and select the nuke the wine folder option
  362.  
  363.  
  364.  
  365. [I] Done!
  366.  
  367. ┌─[moonshine@parrot]─[/opt/Veil]
  368. └──╼ $./Veil.py
  369.  
  370. [!] ERROR #2-3: Can't find the WINE profile for Python v3.4 (/var/lib/veil/wine//drive_c/Python34/python.exe). Run: /opt/Veil/config/setup.sh --force --silent
  371.  
  372. ┌─[moonshine@parrot]─[/opt/Veil]
  373. └──╼ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement