Diễn Đàn Tin Học

Hiển thị kết quả từ 1 đến 1 / 1

Chủ đề: Detect SoftIce cho App

  1. #1
    Tham gia
    19-07-2002
    Location
    HCM, VN
    Bài viết
    138
    Like
    0
    Thanked 1 Time in 1 Post

    Detect SoftIce cho App

    Sưu tầm thôi.

    chỉ thấy nói detect đươc trên 9x và NT còn 2k nó nói không biết

    The Cracker can still defeat this protection
    by using FrogIce, nothing can stop SoftIce hehe.
    Anyway here is sum code you just instert into
    your Applcation.

    //SoftIce in W9x
    Function IsSoftIce95Loaded: boolean;
    Var hFile: Thandle;
    Begin
      result := false;
      hFile := CreateFileA('\.SICE', GENERIC_READ or GENERIC_WRITE,
        FILE_SHARE_READ or FILE_SHARE_WRITE, nil, OPEN_EXISTING,
        FILE_ATTRIBUTE_NORMAL, 0);
      if( hFile <> INVALID_HANDLE_VALUE ) then begin
        CloseHandle(hFile);
        result := TRUE;
      end;
    End;
    // SoftIce in NT OS
    Function IsSoftIceNTLoaded: boolean;
    Var hFile: Thandle;
    Begin
      result := false;
      hFile := CreateFileA('\.NTICE', GENERIC_READ or GENERIC_WRITE,
        FILE_SHARE_READ or FILE_SHARE_WRITE, nil, OPEN_EXISTING,
        FILE_ATTRIBUTE_NORMAL, 0);
      if( hFile <> INVALID_HANDLE_VALUE ) then begin
        CloseHandle(hFile);
        result := TRUE;
      end;
    End;
    //to detect it
    if IsSoftIce95Loaded or IsSoftIceNTLoaded then
    Application.Terminate
    {if you insert a "Nag" (Message telling him he uses SoftIce) then a amatuer cracker w'll find this protection in notime}
    //bestway of using this thing is in "project Unit"

    By: H3X3D1T , any probz mail me
    Quote Quote

  2. Thành viên Like bài viết này:


Bookmarks

Quy định

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