Categories
How-To Software Technical

Custom .onion address

If you have used TOR you are all to familiar with lack of human memorable onion addresses.

Recently Facebook has arrived on TOR officially with a hidden service address of fcebookcorewwwi.onion.

So I started thinking; and thoughts went to into actions to create my own custom hidden service address.

Using a program by the name of Scallion I was able to create what are known as vanity GPG keys and .onion addresses (used for TOR’s hidden services).

How does Scallion work?

At a high level Scallion works as follows:

  1. Generate RSA key using OpenSSL on the CPU
  2. Send the key to the GPU
  3. Increase the key’s public exponent
  4. Hash the key
  5. If the hashed key is not a partial collision go to step 3
  6. If the key does not pass the sanity checks recommended by PKCS #1 v2.1 (checked on the CPU) go to step 3
  7. Brand new key with partial collision

The basic algorithm is described above. Speed / performance is the result of massive parallelization, both on the GPU and the CPU.

In Use

Downloaded Scallion (Windows or Linux)

GetHub Link: https://github.com/lachesis/scallion

Command syntax is simple: scallion -o keys.txt -k 1024 -d 0 prefix (where prefix, is your desired vanity name).

This will create your  (yourcustom)(theremaningnine).onion address

Once you have completed the key generation which will take several hours or days depending on the system specs.

When completed you will have e keys.txt file containing the RSA data.

Copy this data from BEGIN RSA to END RSA to a new file ‘private_key’ this is what is used by TOR to generate your hostname and route traffic to your hidden service.

Cook huh?  I thought so.

For now I am tinkering with: jermsmitue4jcuo4.onion on port 80 and 443 , where port 80 301 redirects you to this site and well the secure 443 connection is my ownCloud self hosted solution.

4 replies on “Custom .onion address”

I’ve spent a few days trying to put scallion together and keep running into problems. What platform were you using? I feel it shouldn’t be as complicated as i am finding it so i am reaching out to anyone i can find who has compiled and used it successfully 🙂

Please shoot me an email if you can give me some details.

Thanks,

Brian

i am getting this error while running . i have installed mono i am using WIndows server 2016 (also tried windows server 2008 R2 ) i have installed my GPU driver properly i have Nvidia Tesla K80 GPU card on system with 32GB ram and 250 GB free disk space please tell me where is error

C:\tor>scallion -o domain.txt -k 1024 -d 0 mydomain

Unhandled Exception: System.TypeInitializationException: The type initializer for ‘OpenSSL.Core.Native’ threw an exception. —> System.DllNotFoundException: Unable to load DLL ‘libeay32’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at OpenSSL.Core.Native.ERR_load_crypto_strings()
at OpenSSL.Core.Native..cctor() in C:\Users\FreeTop\projects\scallion\openssl-net-0.5\ManagedOpenSsl\Core\Native.cs:line 172
— End of inner exception stack trace —
at OpenSSL.Core.Native.InitializeThreads()
at OpenSSL.Core.ThreadInitialization.InitializeThreads() in C:\Users\FreeTop\projects\scallion\openssl-net-0.5\ManagedOpenSsl\Core\Native.cs:line 103
at scallion.Program.Main(String[] args) in C:\Users\FreeTop\projects\scallion\scallion\Program.cs:line 306`

i dont know why i see error i dont have this directory C:\Users\FreeTop\projects\scallion\openssl-net-0.5\ManagedOpenSsl\Core\

i keep on running in similar problems. any help is welcome here…

1>—— Rebuild All started: Project: openssl, Configuration: Debug Any CPU ——
1> openssl -> C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\openssl-net-0.5\ManagedOpenSsl\bin\Debug\openssl.dll
2>—— Rebuild All started: Project: OpenTK, Configuration: Debug Any CPU ——
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\DisplayDevice.cs(78,10,78,92): warning CS1030: #warning: ‘”Consolidate current resolution with bounds? Can they fall out of sync right now?”‘
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\X11\X11GLContext.cs(122,10,122,137): warning CS1030: #warning: ‘”This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method.”‘
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\Windows\WinGLNative.cs(578,10,578,131): warning CS1030: #warning: ‘”This seems to resize one of the ‘large’ icons, rather than using a small icon directly (multi-icon files). Investigate!”‘
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\Windows\WinGLContext.cs(94,10,94,137): warning CS1030: #warning: ‘”This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method.”‘
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\Windows\WinMMJoystick.cs(117,10,117,56): warning CS1030: #warning: ‘”Implement joystick name detection for WinMM.”‘
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\X11\X11Joystick.cs(38,32,38,47): warning CS0612: ‘IJoystickDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Input\IInputDriver.cs(16,37,16,52): warning CS0612: ‘IKeyboardDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Input\IInputDriver.cs(16,54,16,66): warning CS0612: ‘IMouseDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Input\IInputDriver.cs(16,68,16,83): warning CS0612: ‘IJoystickDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\Windows\WinMMJoystick.cs(39,34,39,49): warning CS0612: ‘IJoystickDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(100,70,100,80): warning CS3001: Argument type ‘ContextProperties*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(100,87,100,98): warning CS3001: Argument type ‘uint’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(100,108,100,115): warning CS3001: Argument type ‘IntPtr*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(100,185,100,196): warning CS3001: Argument type ‘ErrorCode*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(105,88,105,99): warning CS3001: Argument type ‘uint’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(113,90,113,101): warning CS3001: Argument type ‘uint’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(119,68,119,78): warning CS3001: Argument type ‘ContextProperties*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(119,85,119,96): warning CS3001: Argument type ‘uint’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(119,106,119,113): warning CS3001: Argument type ‘IntPtr*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(119,183,119,194): warning CS3001: Argument type ‘ErrorCode*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(125,92,125,103): warning CS3001: Argument type ‘uint’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(134,94,134,105): warning CS3001: Argument type ‘uint’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(141,78,141,88): warning CS3001: Argument type ‘ContextProperties*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(141,187,141,198): warning CS3001: Argument type ‘ErrorCode*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(160,76,160,86): warning CS3001: Argument type ‘ContextProperties*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(160,185,160,196): warning CS3001: Argument type ‘ErrorCode*’ is not CLS-compliant
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\DisplayDevice.cs(82,55,82,79): warning CS0618: ‘DisplayResolution.Bounds’ is obsolete: ‘This property will return invalid results if a monitor changes resolution. Use DisplayDevice.Bounds instead.’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\Windows\WinDisplayDevice.cs(149,25,149,54): warning CS0618: ‘DisplayResolution.Bounds’ is obsolete: ‘This property will return invalid results if a monitor changes resolution. Use DisplayDevice.Bounds instead.’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\GameWindow.cs(606,26,606,37): warning CS0612: ‘NativeWindow.InputDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\GameWindow.cs(618,26,618,37): warning CS0612: ‘NativeWindow.InputDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\GameWindow.cs(618,59,618,70): warning CS0612: ‘NativeWindow.InputDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\GameWindow.cs(630,26,630,37): warning CS0612: ‘NativeWindow.InputDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\GameWindow.cs(630,56,630,67): warning CS0612: ‘NativeWindow.InputDriver’ is obsolete
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\GameWindow.cs(909,17,909,30): warning CS0618: ‘IGraphicsContext.VSync’ is obsolete: ‘Use SwapInterval property instead.’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\DisplayResolution.cs(154,51,154,57): warning CS0618: ‘DisplayResolution.Bounds’ is obsolete: ‘This property will return invalid results if a monitor changes resolution. Use DisplayDevice.Bounds instead.’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\DisplayResolution.cs(188,20,188,26): warning CS0618: ‘DisplayResolution.Bounds’ is obsolete: ‘This property will return invalid results if a monitor changes resolution. Use DisplayDevice.Bounds instead.’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\Windows\WinGLNative.cs(59,38,59,55): warning CS0649: Field ‘WinGLNative.ModalLoopCallback’ is never assigned to, and will always have its default value null
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\Dummy\DummyGLContext.cs(26,14,26,19): warning CS0169: The field ‘DummyGLContext.vsync’ is never used
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Platform\MacOS\AglContext.cs(53,23,53,29): warning CS0169: The field ‘AglContext.device’ is never used
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\DisplayDevice.cs(323,79,323,90): warning CS1574: XML comment has cref attribute ‘DeviceIndex’ that could not be resolved
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\DisplayDevice.cs(325,48,325,59): warning CS1574: XML comment has cref attribute ‘DeviceIndex’ that could not be resolved
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Graphics\ColorFormat.cs(133,44,133,49): warning CS1591: Missing XML comment for publicly visible type or member ‘ColorFormat.Empty’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Graphics\OpenGL\GLHelper.cs(1060,26,1060,38): warning CS1591: Missing XML comment for publicly visible type or member ‘DebugProcAmd’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Graphics\OpenGL\GLHelper.cs(1064,26,1064,38): warning CS1591: Missing XML comment for publicly visible type or member ‘DebugProcArb’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Input\MouseState.cs(183,21,183,32): warning CS1591: Missing XML comment for publicly visible type or member ‘MouseState.IsConnected’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\NativeWindow.cs(822,44,822,71): warning CS1574: XML comment has cref attribute ‘KeyboardKeyEventArgs’ that could not be resolved
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(87,67,87,80): warning CS0419: Ambiguous reference in cref attribute: ‘GetDeviceInfo’. Assuming ‘CL.GetDeviceInfo(IntPtr, DeviceInfo, IntPtr, IntPtr, IntPtr[])’, but could have also matched other overloads including ‘CL.GetDeviceInfo(IntPtr, DeviceInfo, IntPtr, IntPtr, out IntPtr)’.
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(100,37,100,50): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContext(ContextProperties*, uint, IntPtr*, IntPtr, IntPtr, ErrorCode*)’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(105,37,105,50): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContext(ContextProperties[], uint, IntPtr[], IntPtr, IntPtr, ErrorCode[])’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(113,37,113,50): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContext(ref ContextProperties, uint, ref IntPtr, IntPtr, IntPtr, out ErrorCode)’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(119,31,119,44): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContext(ContextProperties*, uint, IntPtr*, IntPtr, ref T4, ErrorCode*)’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(125,37,125,50): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContext(ContextProperties[], uint, IntPtr[], IntPtr, ref T4, ErrorCode[])’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(134,37,134,50): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContext(ref ContextProperties, uint, ref IntPtr, IntPtr, ref T4, out ErrorCode)’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(141,37,141,58): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContextFromType(ContextProperties*, DeviceTypeFlags, IntPtr, IntPtr, ErrorCode*)’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(146,37,146,58): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContextFromType(ContextProperties[], DeviceTypeFlags, IntPtr, IntPtr, ErrorCode[])’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(154,37,154,58): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContextFromType(ref ContextProperties, DeviceTypeFlags, IntPtr, IntPtr, out ErrorCode)’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(160,31,160,52): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContextFromType(ContextProperties*, DeviceTypeFlags, IntPtr, ref T4, ErrorCode*)’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(166,37,166,58): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContextFromType(ContextProperties[], DeviceTypeFlags, IntPtr, ref T4, ErrorCode[])’
2>C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Source\OpenTK\Compute\CL10\CLHelper.cs(175,37,175,58): warning CS1591: Missing XML comment for publicly visible type or member ‘CL.CreateContextFromType(ref ContextProperties, DeviceTypeFlags, IntPtr, ref T4, out ErrorCode)’
2> OpenTK -> C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\opentk\Binaries\OpenTK\Debug\OpenTK.dll
3>—— Rebuild All started: Project: scallion, Configuration: Debug Any CPU ——
3> scallion -> C:\Users\acer\Downloads\scallion-gpg\scallion-gpg\scallion\bin\Debug\scallion.exe
========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ==========

Leave a Reply

Your email address will not be published. Required fields are marked *