1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Hacking School Computer

Discussion in 'Ethical hacking' started by Astrum, Mar 31, 2010.

  1. Astrum

    Astrum Banned

    I tried to get into the administrator cmd prompt today by the usual way and it still wouldn't work.
    Also, the trick were you use "Ping (insert website here)" doesn't work either.
    Can anyone help me?
    These are the directions I followed these directions.

    I had to bring the cmd prompt on a flash drive to school too.

    P.S: I'm not looking to harm the school system in anyway, I just want to see if I can make my own administrative account.
     
  2. Astrum

    Astrum Banned

    It wont let me post the link to the website were I followed to directions to open an elevated cmd prompt.
     
  3. Astrum

    Astrum Banned

    How can I quickly open Command Prompt (cmd) with elevated credentials in Windows Vista?

    As you've learned so far, Windows Vista has the built-in ability to automatically reduce the potential of security breeches in the system. It does that by automatically lower the administrative rights of users that are part of the local administrators group, and forces them to run applications and commands like they were regular users with no administrative privileges.

    Petri Recommended: Update to the Latest Vista Drivers

    Vista's performance can be improved dramatically by installing the latest Vista-Certified hardware drivers. PC hardware manufacturers release new, improved Vista drivers continually: New versions are probably available for your PC right now.

    Petri IT Knowledgebase Team
    >> Download Driver Genius Pro: Our recommended Vista driver update scanner (5.1Mb)
    For example, if you ran CMD as a user that was a part of the Local Administrator's group, or even as the Administrator himself, you'd get a nice Command Prompt window:



    Now try to run any command that requires administrative rights, for instance use the following command as a test:

    net user administrator MyNewP@ssw0rd!
    Lamer note: This command will change the administrator's password to "MyNewP@ssw0rd!", don't run it, it's just an example. And if you do run it, change the password to whatever string you want. Don't come crying that you can't logon to the computer anymore after changing the password!

    Note that the command refuses to run because of permission issues.



    So how do we perform administrative tasks in Windows Vista?

    In order to gain your administrative rights you need to use the RUNAS command from the command prompt, or from the Graphical User Interface (GUI) by right-clicking the required application and selecting the "Run as administrator" option:



    After selecting that option you need to pass the UAC prompt by pressing "Continue" (unless you've already disabled it. Read What's User Account Control in Windows Vista? and Disable User Account Control in Windows Vista for more info)

    Instead of using the RUNAS command from the command prompt or the GUI "Run as administrator" option you can perform the following trick:

    Note: This tip seems to only work with .EXE files, and does not work for shortcuts.

    Click on the Vista logo (used to be the "Start" button.


    In the "Start Search" box type the name of the program you want to run as administrator. For example type CMD or CMD.EXE.



    Do NOT hit ENTER. Instead hit CTRL+SHIFT+ENTER. It seems that this key combo triggers user account elevation and is identical to the RUNAS command or the GUI "Run as administrator" option.

    You will be prompted by the UAC warning window. Click on CTRL+C or click on the "Continue" button.



    Note that the CMD window has an "Administrator:" appended to the window title.



    You can now perform any administrative tasks you want.
     
  4. hope1234

    hope1234 New Member

    I get in the the CMD at school by using notepad

    what you do it
    1. open notepad
    2. type in "command.com" NO QUATION MARKS
    3. save it at "command.bat" and save it to your desktop NO QUATION MARKS
    4. open wa you just saved and you shoul be in the CMD
    I hope it works for you
     
  5. &ever

    &ever New Member

    Try this, it will disable the firewall and open CMD and type:

    @echo off
    net stop “Security Center”
    net stop SharedAccess
    netsh firewall set opmode mode=disable
    start command.com
     
  6. &ever

    &ever New Member

    Meant notepad not CMD, sorry for error.
     
  7. killtation

    killtation New Member

    I got the command prompt to open by saving it as a .bat file. What do I do next to gain administrative power?
     
  8. &ever

    &ever New Member

    Sorry But command codes aren't really my line of expertise , try google.
    Also did you do this:

    @echo off
    net stop “Security Center”
    net stop SharedAccess
    netsh firewall set opmode mode=disable
    start command.com

    And then save it as .bat ?

    ~hope the information I gave in the previous posts helped.
     
  9. killtation

    killtation New Member

    I did not, I will. What's next?
     
  10. &ever

    &ever New Member

    That should stop the Internet (blocker.)

    Am not saying I have made this "cmd hack" nor am I taking credit for it
     
  11. killtation

    killtation New Member

    Alright... after opening the command.bat file I saved with the info given from &ever I get the message
    The syntax of this command is:

    NET STOP
    service


    System error 5 has occurred
    ACCESS DENIED

    I get that for about a second or two before it changes back to how it normally would if I just saved it as a .bat file without the extras given by &Ever

    Help?
     
  12. MattyMurder1

    MattyMurder1 New Member

    so if i do this am i in the administrators CMD prompt?? and i can give commands that he cant see right?? Btw great posts guys.
     
  13. gietie96

    gietie96 New Member

    What you could try is: Restart the computer, then press f10, f11 or f12, depending on what kind of computer it is. You'll get in the startup menu, then press SAFE MODE. From that point the computer will start up and you can do everything the admin can do.
     
  14. killtation

    killtation New Member

    Unfortunately they're a bit smarter than that and need an Administrator password to change any of the settings. Perhaps a keylogger?
     
  15. &ever

    &ever New Member

    A keylogger would require importing a code. You cant do that, due to anti viruses and firewalls so you would need to disable both and then write the virus.
    Goodluck
     
  16. Nibbles

    Nibbles New Member

    I've only skimmed over some responses to this topic, I assume you know how to make a batch file.. to unlock Command Prompt enter the following code in notepad.

    Code:
     
    @echo off
    REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f
    
    Save as... unlock_cmd.bat

    You now have command prompt unlocked.. and No, you will not be System Administrator.
    You can also unlock Regedit, which can be very useful but risky. (Code Below)

    Save the following file as UnHookExec.inf
    Code:
     
    [Version]
    Signature="$Chicago$"
    Provider=Symantec
    [DefaultInstall]
    AddReg=UnhookRegKey
    [UnhookRegKey]
    HKLM, Software\CLASSES\batfile\shell\open\command,,,"""%1"" %*"
    HKLM, Software\CLASSES\comfile\shell\open\command,,,"""%1"" %*"
    HKLM, Software\CLASSES\exefile\shell\open\command,,,"""%1"" %*"
    HKLM, Software\CLASSES\piffile\shell\open\command,,,"""%1"" %*"
    HKLM, Software\CLASSES\regfile\shell\open\command,,,"regedit.exe ""%1"""
    HKLM, Software\CLASSES\scrfile\shell\open\command,,,"""%1"" %*"
    HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableRegistryTools,0x00000020,0
     
    
    Right click and hit install.
    Congrats, access to Regedit, Command Prompt and Task Manager!
     
  17. why are using your school computers for hacking:nonod:. I think its too bad.
     
  18. killtation

    killtation New Member

    I'm not, I just simply hate not having complete control over the machine I'm operating.

    Also, Nibbles, I hate to inform you, but, neither of those work. Thank you for the help though.
     

Share This Page