cso online
By Steve Ragan
Fundamental security insight to help you minimize risk and protect your organization
Close
Thank you
Your message has been sent.
Close
Sorry
There was an error emailing this page.
Credit:
For the second time in as many months, scammers have unleashed another Phishing scam leveraging Google Drive
CSO
|May 23, 2014 4:00 AM
‘);//–“;
var adDivString = “”;
placementDiff = applyInsert($(this), adDivString);
if (debug) {
console.log(“Just placed an ad and the placementDiff is: ” + placementDiff);
}
placementTarget = cumulativeHeight + placementDiff + interModuleHeight + adHeightBuffer;
}
else {
var moduleDivString = “”;
var elementId = “drr-mod-“+moduleCounter;
moduleDivString = “”;
modules.push(elementId);
placementDiff = applyInsert($(this), moduleDivString);
if (debug) {
console.log(“Just placed a module and the placementDiff is: ” + placementDiff);
}
placementTarget = cumulativeHeight + placementDiff + interModuleHeight + moduleHeightBuffer;
moduleCounter++;
}
loopCounter++;
}
// Avoid placing elements too soon due to non-large figures inflating the cumulative height
if ($(this).is(“figure”) !$(this).is(“figure.large”)) {
cumulativeHeight += grafHeight;
}
else {
cumulativeHeight += $(this).height() + grafHeight;
}
}
});
// clone Related Stories module m-15 to come in after 2nd para in article body for mobile breakpoint display
var $relatedStories = $(‘.related-promo-wrapper’);
if ($relatedStories.length) {
var $relatedStoriesClone = $relatedStories.clone();
$relatedStoriesClone.insertAfter( “#drr-container p:eq(1)”);
}
var $insiderPromo = $(‘.insider-promo-wrapper’);
if ($insiderPromo.length) {
var $insiderPromoClone = $insiderPromo.clone();
$insiderPromoClone.insertAfter( “#drr-container p:eq(1)”);
}
//place left side element
cumulativeHeight = 0;
var leftPlacementTarget = tagHeight = leftPlacementTarget) {
if (debug) {
console.log(“congratulations… we’ve passed the initial start point”);
}
if (leftPlacementIndex == null) {
//it’s not good enough to not be a left avoid – it also shouldn’t be a
with an immediately preceding small or medium image left avoid.
if (!isLeftAvoid($(this)) noPrevFigures($(this)) ) {
leftPlacementIndex = $(this).index();
$leftPlacementElement = $(this);
leftPlacementLookaheadStart = cumulativeHeight;
if (debug) {
console.log(“is not a left avoid and no prev figures. ########## set placementIndex (“+leftPlacementIndex+”) and lookaheadStart (“+leftPlacementLookaheadStart+”) ##########”);
}
} else {
if (debug) {
console.log(“is a left avoid or has previous figures. continue”);
}
}
} else {
if (debug) {
console.log(“#### leftPlacementIndex already set to “+leftPlacementIndex+”. looking ahead…”);
}
//not null; has been set
if ((cumulativeHeight – leftPlacementLookaheadStart) leftIntervalHeight) {
if (debug) {
console.log(“###### THRESHOLD REACHED. LOOKAHEAD COMPLETE. END ###### (cumulativeHeight – leftPlacementLookaheadStart) (“+(cumulativeHeight-leftPlacementLookaheadStart)+”) leftIntervalHeight (“+leftIntervalHeight+”).”);
}
return false;
} else {
if (debug) {
console.log(“threshold not reached: (cumulativeHeight – leftPlacementLookaheadStart) (“+(cumulativeHeight-leftPlacementLookaheadStart)+”) tags
if (!(isLeftAvoid($(this)) ($(this).hasClass(‘small’) || $(this).hasClass(‘inline-small’) || $(this).hasClass(‘medium’) || $(this).hasClass(‘inline-medium’) || $(this).hasClass(‘apart’) ))) {
cumulativeHeight += $(this).height() + grafHeight;
}
if (debug) {
console.log(“——————– set cumulativeHeight(“+cumulativeHeight+”) —————“);
console.log(“”);
}
}
});
}
if (leftPlacementIndex != null elementNotNearEnd($leftPlacementElement, leftPixelWindow)) {
if (debug) {
console.log(” insert into index “+leftPlacementIndex);
}
$(“#drr-container”).children().eq(leftPlacementIndex).before(“
“);
}
IDG.GPT.trackOmniture();
// Add Right rail module content
for (var i=0; i=0) {
epoType = “article”;
referrerValue = getReferrerArticle(“”, previousUrl);
if (_article!=null) {
originalCategories = _article.categories;
}
else {
epoType=”home”;
}
}
else if (document.referrer.indexOf(“google”) = 0 || document.referrer.indexOf(“yahoo”) = 0 || document.referrer.indexOf(“bing”) = 0) {
epoType = “search”;
}
else if (pageComesFromSocial(document.referrer)){
epoType = “social”;
}
else {
epoType = “home”;
}
console.log(“Epo TYpe is ” + epoType);
var brandAbbreviation = “cso”;
// Define params for epo based on brand
if (epoType != “none”) {
var epoParams = “module.epo”;
switch(brandAbbreviation) {
case ‘jvw’:
console.log(“Case JVW”);
// FOR JAVAWORLD
if (epoType == “home”) {
epoParams += “typeId=4”; // How-To articles
}
else if (epoType == “search”) {
var categories = [3305, 3302, 3332];
var primaryCatId = 3204; // Default to ‘Core Java’
if (categories instanceof Array categories.length 0) {
primaryCatId = categories[0];
}
epoParams += “catId=” + primaryCatId;
}
else if (epoType==’article’) {
var categories = originalCategories;
var primaryCatId = 3204; // Default to ‘Core Java’
if (categories instanceof Array categories.length 0) {
primaryCatId = categories[0];
}
epoParams += “catId=” + primaryCatId;
}
break;
case ‘cit’:
console.log(“Case CIT”);
if (epoType == “home”) {
epoParams += “typeId=6”; // Feature
}
else if (epoType == “search”) {
var categories = [3305, 3302, 3332];
var primaryCatId = 3336; // Default to ‘Consumerization’
if (categories instanceof Array categories.length 0) {
primaryCatId = categories[0];
}
epoParams += “catId=” + primaryCatId;
}
if (epoType==’article’) {
var categories = originalCategories;
var primaryCatId = 3336; // Default to ‘Consumerization’
if (categories instanceof Array categories.length 0) {
primaryCatId = categories[0];
}
epoParams += “catId=” + primaryCatId;
}
break;
break;
case ‘cso’:
console.log(“Case CSO”);
if (epoType == “home”) {
epoParams += “typeId=6”; // Feature
}
else if (epoType == “search”) {
var categories = [3305, 3302, 3332];
var primaryCatId = 3294; // Default to ‘Data Protection’
if (categories instanceof Array categories.length 0) {
primaryCatId = categories[0];
}
epoParams += “catId=” + primaryCatId;
}
if (epoType==’article’) {
var categories = originalCategories;
var primaryCatId = 3294; // Default to Data protection
if (categories instanceof Array categories.length 0) {
primaryCatId = categories[0];
}
epoParams += “catId=” + primaryCatId;
}
break;
}
return epoParams;
}
return null;
}
/**
* @param jqo Original jquery object target
* @param divString The div to be inserted.
* @return Difference in height between original placement target and final target.
* Checks first 6 elements for an allowable placement (600 pixel window).
* If none, check nearby for elements that are not right avoids.
* If none, place element before current target.
*/
function applyInsert(jqo, divString) {
if (debug) {
console.log(“applyInsert at top and jqo index is: ” + jqo.index());
}
for (var i=0; i 0) {
children = $(“#drr-container”).children().slice(jqo.index(), allowElement.index() );
}
else {
children = $(“#drr-container”).children().slice(allowElement.index(), jqo.index());
}
if (children != null) {
children.each(function(i) {
if (debug) {
console.log(“About to add this element’s height to heigh diff offset”);
console.log($(this));
}
height += $(this).height();
});
}
if (offset 300) {
if (debug) {
console.log(“isRightAvoid: found pre. return true”);
}
return true;
}
if (jqo.is(“figure”) jqo.hasClass(‘large’)) {
if (debug) {
console.log(“isRightAvoid: found figure.large return true”);
}
return true;
}
if (jqo.is(“figure”) jqo.hasClass(‘medium’) jqo.hasClass(‘inline’)) {
if (debug) {
console.log(“isRightAvoid: found figure has class medium and inline.”);
}
return true;
}
if (jqo.hasClass(‘download-asset’)) {
if (debug) {
console.log(“isRightAvoid: found class download-asset return true”);
}
return true;
}
if (jqo.is(“aside”) jqo.hasClass(‘tableLarge’)) {
if (debug) {
console.log(“isRightAvoid: found class download-asset return true”);
}
return true;
}
}
return false;
}
// Returns true if height of all elements after this one is more than 500; false otherwise
function elementNotNearEnd(element, pixelWindow) {
if (pixelWindow == null) {
pixelWindow = 500;
}
if (element == null) {
return false;
}
var remainingHeight = 0;
var children = $(“#drr-container”).children().slice(element.index());
if (children == null) {
return false;
}
children.each(function(i){
remainingHeight += $(this).height();
});
if ( remainingHeight pixelWindow) {
return true;
}
else {
if (debug) {
console.log(“Element too close to end. Remaining height is: ” + remainingHeight + ” and window is ” + pixelWindow);
}
return false;
}
}
/**
* Return true if need to avoid this element when placing left module.
*/
function isLeftAvoid(jqo) {
if (jqo.is(“figure”)) {
if (debug) {
console.log(“isLeftAvoid: found figure. return true”);
}
return true;
}
if (jqo.is(“aside.pullquote”)) {
if (debug) {
console.log(“isLeftAvoid: found pullquote. return true”);
}
return true;
}
if (jqo.is(“pre”)) {
if (debug) {
console.log(“isLeftAvoid: found pre. return true”);
}
return true;
}
if (jqo.is(“div.gist”)) {
if (debug) {
console.log(“isLeftAvoid: found github code block. return true”);
}
return true;
}
if (jqo.hasClass(“statsTable”)) {
if (debug) {
console.log(“isLeftAvoid: found class statsTable. return true”);
}
return true;
}
return false;
}
/**
* return true if there are no figures before the target placement that might bleed down into placement element
*/
function noPrevFigures($originalTarget) {
var targetIndex = $originalTarget.index();
var numElementsLookBack = 5;
var figureIndex = null;
var figureHeight = null;
var startIndex = targetIndex – numElementsLookBack
Researchers at Symantec have discovered another Phishing campaign using Google Drive, one that mirrors a similar attack form two months ago.
The technical aspects are so familiar, that Symantec’s team suspects the same group is behind this latest incident – or at the very least, the criminals are using the same Phishing kit.
This most recent attack uses the Google Drive service itself, which hinders traditional anti-Phishing measures usually associated with user awareness training. When the victim is finally presented with the malicious page, it’s delivered via SSL and uses the Google Drive domain, killing any hope that passive visual inspections of the URL will help raise red flags.
What the victim sees when they access the page, is a near-perfect mirror. The screenshot below is an example, provided by Symantec.
“Most phishing mitigation focuses on visually inspecting the URL to make sure the connection is secure. And this is good advice, but this does not help prevent against this specific attack. As in the past, the attacker’s phishing message uses the simple subject of ‘Documents’ and contains a URL pointing to a phishing page hosted on the Google Drive file storage and synchronization service,” Symantec’s Nick Johnston explains in a blog post.
However, there is one item that stands out in this scam, and it’s located in the language bar presented at the bottom of the fake Google log-in screen. When examined, it’s clear that the language selection bar is corrupted, which could be a problem with the Phishing script itself.
Again, aside from this one glitch, the rest of the page is a near-perfect mirror of Google’s own authentication portal. The problem is, most users are unlikely to notice the flawed language selection, or they’ll simply assume it is a bug.
Once the credentials are submitted, the script will redirect the victim to a document hosted on Google Drive.
Symantec says this latest scam poses significant risk, as smartphones are often sold with premium Google Drive accounts pre-installed, which means that more and more users are being hooked into the service.
This is in addition to the millions of Google users, each of whom have Google Drive enabled. If a person falls for this scheme, then all of their Google services have been compromised.
Thus, aside from the normal awareness training and protections, it’s wise to take advantage of Google’s account protections, including two-factor authentication.
In addition to Phishing, Symantec says this scheme is being used to deliver malware as well:
“Static HTML pages on Google Drive are also being used to redirect to malware. In these cases, a very small HTML file (under 100 bytes) uses JavaScript to redirect victims to a shortened URL (using SSL, perhaps to give a false sense of security). The shortened URL finally redirects to a compromised Brazilian website hosting a Trojan.”
Earlier this month, Salted Hash reported on an uptick in Phishing attacks that seek multiple sets of credentials, including websites that allow the victim to select between Yahoo, AOL, Windows Live, Gmail, or any other account.
This is in addition to the attacks on shared hosting providers, and the Phishing attacks that are initiated via residential networks.
Vendor error forces Lowe’s to issue breach notification letters
-
-
What is social engineering? What are the most common and current tactics? A guide on how to stop…
-
From passwords on sticky notes to sensitive contracts left in a pile by the printer, many office…
-
-
Employees today expect to take their work anywhere and on any device. This BYOD mindset poses a…
-
Relentless cyber criminals are always looking for the next big hack, and mobile devices are the new
Sign up for our CSO Update newsletter
Researchers at Damballa have seen the number of Kovter infections double over the last month, as
The eBay database breach that led to the theft of customers’ passwords and personal information started
Companies that fail to continually watch for employee and executive fraud typically lose 5 percent of
The botnet contained almost 1,500 compromised point-of-sale and other retail systems from 36 countries,
The FBI declined to fight Microsoft after it found another way to keep its investigation secret
Startup runs malware through VirusTotal, gets depressing answer
<!–
