In many organizations the printers are used too often and in some it is collecting dust, apparently, it’s the best target that can be used as an attacking surface. There are countless companies who don’t bother about updating the firmware of their printers, leaving their documents open to attackers. The inventories like printers and others are not even discussed in annual security audits and are assumed to be useless in security aspects.
As printers are seemingly harmless, that’s the exact reason it poses a serious threat. Sometimes, the best attack vector for an attacker is the one to which no one bothers to think about. However, a recent IDC survey found that 35 percent of all security breaches in offices were traced back to an unsecured printer or multi-function device, costing companies $133,800 each year.
Why Companies Should Consider Printer as a Security Threat?
As printers are the essential inventories to business from small organizations to huge corporate level organizations and are ignored when it comes to vulnerability management and assessment. Enterprise security tools are only to protect computers and network; they often do not block or monitor access from the printers. That makes the printer a trouble-free approach to the attacker.
Chris Vickery, a white hat hacker and Security Researcher at MacKeeper said: “Getting control of a printer within an organization can provide a foothold for further attacks and a position to ‘pivot’ out of into networks”.
There are some serious effects if the printer gets compromised and used by attacker, like attackers can capture every document sent to the printer. It could be serious business intelligence comprise that no organization can tolerate.
Preventing Data Loss from Printers
It’s too easy to suggest one ultimate security tip to prevent such threat that includes the replacement of outdated printers with newer models that have some latest security features. Furthermore, Data encryption should be introduced to all latest printers to prevent data exposure if compromised. Although it has been adopted by Xerox in March 2016, other companies should also consider this feature to introduce with their products.
In the end, as IT administrators are responsible to configure printer and other multipurpose device in an organization, they should be aware of the threats associated with those devices so some serious countermeasures can be taken prior to the transmission of data.
Many companies, hospitals, universities, banks and other financial institutions are being infected by ransomwares. Many ransomware are launched to the black market in this current year that affected victims to pay millions of ransom. Petya and Mischa, two of the most popular ransomwares of 2016 has already threatened businesses from its successful file encryptions.
The developers of Petya and Mischa ransomware have officially made their malicious software open to public, and started Ransomware as a Service (RAAS). The program has launched on July 25, 2016 that pays the distributor a fair share based on the amount of bitcoins they extort from victims.
The 25% share of each 5 bitcoin is paid; while on total of 125 bitcoin per week can earn you up to 85% share. More the bitcoin can adds more percent of share. The developers of RAAS are eager to work with serious distributors only to make most of it before any counter technique is developed.
Petya requires administrative privileges to run so that it can replace the Master Boot Record and encrypt the Master File Table (MFT), which contains critical information about every file. A single dropper is capable of installing Petya or Mischa onto a victim's computer. While if no administrative privilege is obtained, Mischa will infect the victim.
While researching on Petya ransomware, Lawrence Abrams said that:
“Petya causes Windows to reboot in order to execute the new malicious ransomware loader, which will display a screen pretending to be CHKDSK. During this fake CHKDSK stage, Petya will encrypt the Master File Table on the drive. Once the MFT is corrupted, or encrypted in this case, the computer does not know where files are located, or if they even exist, and thus they are not accessible."
There is a decrypting tool available to defend against Petya ransomware but not for Mischa. That’s somehow making RAAS a good business with lots of distributors and profit.
Tim O'Brien, Director of Threat Research at Cloud Security Automation Company, said that:
“Above all else, end user awareness and training regarding the screening of emails and downloading files is the first line of defense.”
Therefore, when it comes to protecting an organization against ransomware, backing up the devices regularly should be considered until counter application is not developed. The installation of reputable and trusted security solution is recommended so that ransom attack can be prevented including suspicious links and email attachments.
After a tremendous response with our first XSS challenge, we decided to make your lives a bit harder this summer by launching another XSS challenge. Like always, our challenges always challenging and based upon real world scenarios and the key to solving it mostly rely upon the ability to think outside the box.
The challenge is based upon a a strong blacklist based protection, beware that the challenge may be very hard for you unless you don't understand the right injection context.
Challenge Rules/Goals
The challenge goal is to execute alert(1) inside the browser.
Your payload must render javascript inside modern browsers.
The XSS protection header has been set to 0, which would turn off your client side XSS filter.
Challenge Link
Special thanks to MrPrakhar Prasad, for deploying the challenge. Alex Infuhr for beta testing and ideas with the challenge.
Automated scanners won't help here as often time they fail at producing context based payloads.
Submissions
Sumbit your vector to rafayhackingarticles@gmail.com orprakhar@prakharprasad.com, or you could DM on my twitter @rafaybaloch, once you have cracked this challenge.
Update - The challenge is still up on hack.me -https://hack.me/101575/bypass-blacklist-based-waf-challenge.html On 7th January 2014, we announced an XSS challenge for the whole infosec community, the challenge was based upon blacklist based protection and the task was to bypass the blacklist based protection and to execute the javascript. Based upon unique IP addresses we had 1740 participants and more then 80k unique vectors were recorded into our log file which is a tremendous turn out, the size of the log file was around 4.4 mb, which is pretty huge. Out of 1740 participants only 17 were able to solve it, which is less then 1% (0.97 to be exact).
Challenge Setup
To make your lives a bit harder, we induced certain amount of difficulties. Here is an overview of what we had done:
We blacklisted alert, prompt, confirm, document.write functions which are most commonly used to execute javascript.
We blacklisted open & closed parenthesis, which is what most of the XSS vectors require.
We blacklisted most commonly used event handlers such as onclick, onfocus etc
We blacklisted the closing bracket ">".
We blacklisted most of the attributes used to execute javascript such as src, formaction, action etc.
We blacklisted "+" sign, which otherwise would had been used to concatenate javascript strings, however we did leave a room for it. (More on it later).
The winners for the challenge would be decided on the basis of the shortest vector by length.
Hints
The two of most important hints we gave was as follows:
Look at alternative javascript execution possibilities.
The solution for the challenge was already given inside my "XSS filter evasion cheat sheet", however you would need tweak the payload. (Obviously, there was not point to the challenge, if the solution was already there).
Partial Bypass - Solution
As it was mentioned in one of the hints that you would need to look at alternative javascript execution possibilities. Almost all attributes were being filtered except the "code" and "data" attribute. The "code" attribute can be used along with the "embed" element and the "data" attribute can be object element to execute the javascript.
Vector #1
Several instances of the "Object" element were being filtered, however it wasn't difficult for some one to figure it out. The "data" attribute was being filtered out too, however case-sensitive based escaping was not being done. Therefore the final vector would be:
Vector #2
A more easier partial solution would be to use "embed" element with "code" attribute:
The reason, why i have coined the solutions as "Partial solution" is because of the fact that the javascript does not executes under the context of the main domain, "rafay.prakharprasad.com", for it to be termed as a full solution, the javascript must be executed under the context of the challenge domain.
The following people who came up with partial bypass:
Let's first take a look at our solution and then take a look at amazing solutions from the community, we used window.open() function to set the name property to "javascript:alert(1)", we used string concatenation to join the "l" and "ocation" together, the "+" sign was being filtered out, however the encoded version of "+" was not being filtered out which is equivalent to "%2b".
Browsers: IE and Firefox
Let's now try the tremendous solutions we received from the community:
1)@skeptic_fx
Ahamed Nafeez was the first to solve the challenge by our expected method, The following solution works in Firefox w/o user interaction.
Length: 58 characters
POC #1
Later, he made it work inside both Internet explorer and Firefox:
Length:121 characters
POC #2
http://rafay.prakharprasad.com/?search=
2)@fransrosen
Frans rosen came up with a very sophisticated bypass, The vector could had been shortened a lot though, but he decided not to do it, even though he could had. He used parentNode to walk to up the document, however all of these parentNodes could had been replaced with "top" or "self" and the POC still had worked, however this turns out to be a great technique in a case top and self keywords have been blacklisted.
Mathias came up with several different solutions namely a universal solution that would work on all browsers and a chrome specific bypass with shortened length.
Length: 97 characters
POC
Along with his solution, he was kind enough to send an explanation on how it worked:
This solution relies upon setting the window.location property to a javascript URI. We can do this by accessing the property using the syntax with a string within brackets instead of the regular way (window["location"] versus window.location). Since a lot of strings were filtered (such as "alert" and "location"), we can use the same window.name trick to go transfer a string to the page. In the example I passed "javascript:alert(1)".
Sadly, only one string can be passed with that trick and as for the other string ("location"), I forged it by building a desired string out of another, character by character. But to do that I needed a string in the first place, so I used regex and addition to cast it into a string. /locatio/+/n/ becomes "/locatio//n/". From there we can just pick character by character and glue it together to make "location".
In the end we set window[string_from_regexes]=string_from_window_name, which becomes window["location"]="javascript:alert(1)", executing the alert.
Later, he came up with a chrome specific bypass of only 32 characters in length:
Length: 32 Characters
POC
data:text/html,
6)@yujikosuga
Yuji arrived in a bit late inside the challenge, but still managed to solve it in a decent amount of time.
Length: 57 characters
7)@philroberts & @adam_baldwin
Phil roberts next, came up with a huge and the most longest solution in terms of length.
This turns out to be the first post of the Year 2014, I would like to start this post by wishing you a very happy new year, sorry for the delay as i was extremely occupied with my final examinations. And as they are over by now, i would like to start this year by putting up a small challenge for my readers.
Recently, we had released our "XSS Filter Evasion Cheat Sheet", i was extremely overwhelmed with the response of the readers, the downloads have surpassed an amazing figure of 4500+ and more are coming every day. Therefore, i thought to put up a challenge, which would force you to use the techniques you would had learned from the cheat sheet and put you to the test.
The challenge is based upon a WAF (Web Application Firewall) we encountered recently while pentesting a website, as it's against our policies and TOS to disclose the website which we were up against, however i was able to reverse engineer the rules and therefore managed to create my own filter simulating the rules of the one which we were up against.
Challenge Link
Special thanks to Mr prasad, for deploying the challenge upon his server.
There was a challenge has been published on the blog to find the secret message(s) hidden on the images, the challenge contain the brief information of the background story and the requirements it was a small practice so that everyone can evaluate their knowledge and skills. So in this article I will show you the technique to find the hidden message and I will announce the name of the people who has successfully found the messages.
There might be several ways to find the hidden message but the concept is very general which is steganography (an art of hidden communication). There are so many online tools are available that can help you to find the secret message from an image and there are so many tools for desktop usage are also available and I will discuss the tool called “stepic” which is available on backtrack 5 r1 and r2.
So the answer of the challenge is:
“Two images contain the hidden message, the image number 1 and the image number 2 respectively.”
# stepic -d -i image1.png
this is not enough you need to find more
# stepic -d -i image2.png
so you did it, two images has the secret message
# stepic -d -i image3.png
#
Below are the names of the people who has solved the challenge, I don't know whatever technique they have used but they have found the secret messages.
bgood
R!pster
Ceasertheape
Rusyidi Rosli
papyHerman
timos petropoulos
Jmt
If something wrong with the result, I mean if your name is not here then let me know.
So I hope you have enjoyed it and if you some ideas for the future challenge then kindly share it with me because ehacking.net is a community and we need to make it more effective and the right place to get the knowledge. All of the comments are approved on the challenge page.
Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription or become our Facebook fan! You will get all the latest updates at both the places.
Information security is a very broad filed of IT and it involve the activities of hacking, cracking, penetration testing, computer forensic and many more. We have discussed various aspect of information security via different articles and tutorials and this time we are presenting a cracking challenge which is some kind of a reverse engineering and computer forensic. The theory behind the cracking is to evaluate your intelligence level, I mean how quick you can understand the problem and how fast you can get the solution.
The Story
The story is very simple let suppose you are a penetration tester for an organization which is responsible for the homeland security and your team member has got three images which seems to be suspect, your job is to evaluate these images whether they are just a image of they contain contain some secret messages.
Tasks
Your job is to find out the image (s) which contain secret message and your job is to find out the message which is hidden of-course. It might be possible that all of them has some messages or it might be possible that only one contain the message. The quick overview of the challenge is :
Find out how many of these images contain the secret message
Find out what actually the message (s) is/are
The images
1
2
3
If you will find it than simply share it via comment box (if your answer will right than I will hold it so that other will try it), If you will fail then you need not to worry because at the end of the challenge I will show the method to find the message(s).
Do not forget to share it with your friends so that they will try, share it via your social media profiles and on different forums. Discuss the issue with the relevant people. The result will announce right after three weeks so you have enough time to do the job. Your questions will be entertain.
Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription or become our Facebook fan! You will get all the latest updates at both the places.
Crack it if you can a challenge, so I hope you have enjoyed a little challenge and I hope you have tried it by yourself whether you are fail or not. Well most of the people try to use and want how to use back-doors to hack into a friend computer or enemy computer and they usually don;t care about cryptography or secret communication strategy. If you are a computer science student or professional and if you have read some cryptography techniques then it is good because I will not discuss it.
So what is hidden and how I hide my into image, look at the comment:
Steganography an art of hidden communication sound like cryptography but there is a little difference between steganography and cryptography. Steganography is an art of hidden communication (means to hide your secret message into a normal message) while cryptography is an art of secret communication means to encrypt your message so that nobody can read but they still can understand that this contain some secret data.
You can hide any secret message into image, audio, video and protocols this is what a steganography. I have just hide a message into an image by using a little tool that is available on backtrack 5 or backtrack 5 R1.Well here is the tool that can easily find the hidden message as I said it requires only few seconds if and only if you understand what actually the mechanism is.
If you want to encode your image by using stepic then use this command:
# stepic -e -i input.png -t msg.txt -o after.png
I did a simple steganography without any key and I would appreciate your comments here. I would invite you to join this discussion forum for more communication between us.
Congratulation
Ricardo Pistarino
VennY
theorren
Deves
garduino
Ashwamedhayagam
Root Boot
Godcsu
Spencer Rawlins
S.Arshad
I would appreciate if you guys share your method like how did you notice that this image based on steganography and how did you find the message.
Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription or become our Facebook fan! You will get all the latest updates at both the places.
Cryptography has been developed and are developing a lot, there are so many new techniques and algorithm available to encrypt a secret message. So I have decided to share something about the secret communication, let suppose you have received an image and the image might be contain some message that is hidden. It seems to be intelligence agency movies now suppose the same scenario I will give you the image and you need to find out the secret message. It is a little challenge that will surely improve your knowledge and skills.
Procedure
See the image below
Try to crack or hack it than find the secret message
If you will find it than simply share it via comment box (if your answer will right than I will hold it so that other will try it)
If you will fail then you need not to worry because at the end of the challenge I will show the method to find the message
Do not forget to share it with your friends so that they will try
This image is a map but it has something strange, Crack it if you can.
Other announcement that I want to discuss it here is that list of the backtrack 5 tutorial has been updated all of these tutorial is also applicable on backtrack 5 r1 so there is no need to make a separate tutorial section for backtrack 5 r1.
List of the metasploit tutorial has also updated and one more thing do not use contact us form for your questions, ask your question via comment box so that I will reply as soon as possible. If you use contact us for your question than it means you are not going to receive your answer.
It is a very simple challenge and the method of cracking is very simple and I believe that most of you will do this. Additional comments will be appreciated.
Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription or become our Facebook fan! You will get all the latest updates at both the places.
Cyber security and defense is now an important field of interest because of rising hacking attacks on small networks and enterprise networks. Even government organizations are not secure, with hacker groups like Anonymous, Lulzsec and others having been and remaining a threat. So the point of consideration is that an organization should have enough security researchers, penetration testers and the solution to fight against these hacking attacks.
Ethical hackers or penetration testers would be a first level of defense for a network and a web application because they attack like a black hat hacker attack, they find the vulnerabilities (weaknesses) of a network. So how can an organization judge the skills of a penetration tester? There are different ways. Well we want to challenge your skills as a cracker and a ethical hacker, via the challenge Can You Crack It? As this is the title of this article, you must have had an idea that this article would show you a challenge.
We challenge your skills, so if you want to judge your own skills and abilities then try to crack it. We have a plan and you'll need to crack this code available on this website:
Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription or become our Facebook fan! You will get all the latest updates at both the places.