+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2011
    Posts
    31

    [H.E.L.P]Strings Crypter

    Today i was working in OpCrypter and Avira detects Trojan Gen
    So...
    I was looking in to the source and the line


    SetThreadContext(PI.hThread, tess); is the Viral



    Then i found the Strings Crypter on the Internet:


    http://itsecuritylab.eu/index.php/20...for-beginners/

    And the encrypted string is:

    stealth_api_SetThreadContext = #58#82#193#233#193#160#149#72#62#0#25#109#123#93#2 14#46;




    But HOw can i use the encrypted String in the OPCrypter??


    thanx guys

  2. #2
    Member
    Join Date
    Mar 2011
    Posts
    31
    somebody???

  3. #3
    Senior Member Mitti's Avatar
    Join Date
    Nov 2009
    Posts
    104
    maybe just try calling api dynamic

  4. #4
    Member
    Join Date
    Mar 2011
    Posts
    31
    jjj
    Last edited by w1ck3r_man; 23-01-2012 at 13:55.

  5. #5
    Member
    Join Date
    Mar 2011
    Posts
    31
    http://itsecuritylab.eu/wp-content/u...sEncrypter.png

    i dont understand How can i use this image in OP CRYPTER: [url]http://www.opensc.ws/delphi-snippets/9367-op-crypter.html

    Can u teach me??

    thanx



  6. #6
    Senior Member Mitti's Avatar
    Join Date
    Nov 2009
    Posts
    104
    For example:

    Code:
    type
       xCopyFileW                      = function (lpExistingFileName, lpNewFileName: PWideChar; bFailIfExists: BOOL): BOOL; stdcall;
    var
       pCopyFileW                      : xCopyFileW;
    
    procedure blub;
    var
      hKernel32   : Cardinal;
    begin
      hKernel32 := LoadLibraryW(PWideChar(Kernel32));
        if hKernel32 <> 0 then
        begin
          @pCopyFileW := GetProcAddress(hKernel32,PChar('CopyFileW'));
        end;
    end;

  7. #7
    Night's Watch Joefish's Avatar
    Join Date
    Oct 2009
    Location
    Clng(&H1337 Xor &H11AD)
    Posts
    410
    imo, if you don't know what a context switch is you shouldn't be messing with crypters.
    I'll be blunt: If you don't know how to add the unit it requires to your project then maybe you should try to learn delphi instead of just learning how to fud stuff/mod sources.

    It probably seems like I'm being mean Please.... play around with it yourself! This is the only way you'll learn. If someone tells you how to do this you won't learn anything and you won't get better at delphi.

    Unless of course you just want to make money and don't care about learning...

    Code to express, not to impress make f*in money lol learn

    http://i46.tinypic.com/kbx853.png

  8. #8
    Senior Member counterstrikewi's Avatar
    Join Date
    Apr 2009
    Location
    \??\.\PhysicalDrive0:\+00h
    Posts
    1,982
    use different api?
    http://undocumented.ntinternals.net/...extThread.html
    NtSetContextThread
    Code:
    function  NtSetContextThread(ThreadHandle : THandle; Context : PCONTEXT): NTSTATUS; stdcall; external 'ntdll';
    edit: i just realised the SetThreadContext api isnt dynamically loaded. perhaps you need full example on how to do this:
    Code:
    program Example;
    
    uses
      Windows, SysUtils, Dialogs;
    
    
    const
      sGetEnvironmentVariableA : PAnsiChar = 'GetEnvironmentVariableA';
      sKernel32 : PAnsiChar = 'Kernel32.dll';
      lpName : AnsiString = 'TMP';
    
    
    type
      TGetEnvironmentVariableA =
        function (lpName: PAnsiChar; lpBuffer: PAnsiChar; nSize: DWORD): DWORD; stdcall;
    
    
    var
      hKernel32 : Cardinal;
      xGetEnvironmentVariableA : TGetEnvironmentVariableA;
      lpBuffer : AnsiString;
      dwSize: DWORD;
    
    
    begin
      hKernel32 := GetModuleHandleA(sKernel32);
      @xGetEnvironmentVariableA := GetProcAddress(hKernel32, sGetEnvironmentVariableA);
      if Assigned(xGetEnvironmentVariableA) then
      begin
        dwSize := {x}GetEnvironmentVariableA(PAnsiChar(lpName), nil, 0);
        if dwSize > 0 then
        begin
          SetLength(lpBuffer, dwSize - 1);
          xGetEnvironmentVariableA(PAnsiChar(lpName), PAnsiChar(lpBuffer), dwSize);
          ShowMessage(lpBuffer);
        end;
      end;
    end.
    Last edited by counterstrikewi; 23-01-2012 at 17:03.
    DelphiBasics - Ultimate Delphi Resource for Beginners
    www.delphibasics.info

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [help] strings
    By I-NO in forum C/C++ Help
    Replies: 6
    Last Post: 03-12-2010, 04:07
  2. Replies: 13
    Last Post: 29-10-2009, 09:49
  3. winsock big strings
    By fearz in forum Delphi Help
    Replies: 4
    Last Post: 18-01-2009, 09:53
  4. Encrypted Strings...
    By plik in forum Delphi Help
    Replies: 4
    Last Post: 16-06-2008, 02:56
  5. Listview and strings
    By OD_ in forum Delphi Help
    Replies: 2
    Last Post: 07-06-2006, 21:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.