cso online
Close
Thank you
Your message has been sent.
Close
Sorry
There was an error emailing this page.
Google’s experimenting with anti-phishing in Chrome shows little progress in closing the gap with Microsoft’s Internet Explorer
By Antone Gonsalves
CSO
|
May 8, 2014 3:28 PM
‘);//–“;
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 = [3297, 3302, 3305];
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 = [3297, 3302, 3305];
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 = [3297, 3302, 3305];
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
The anti-phishing feature, currently available in the test version of Google’s Chrome, would unlikely provide the boost the browser needs to catch up with Microsoft’s Internet Explorer, an expert says.
Chrome trails IE in its ability to protect users landing on malicious websites through phishing attacks. The experimental feature in Chrome Canary Version 36.0.1975.0 would try to narrow the gap by displaying the root domain of a website to theoretically make it easier for a person to distinguish between a legitimate and bogus site.
If the domain is supposed to be “amazon.com,” but what’s shown is “amazon_scam.com,” then the Chrome user would know they’ve landed on a fake site.
However, such a feature is unlikely to be of much help.
“I believe it is far too soon to assess success or failure,” Randy Abrams, research director for NSS Labs, said. “That said, allowing users to see the true top level domain (TLD) name will be of limited effectiveness.
“Many users do not know what a TLD is or even have the knowledge to distinguish a good one from a bad one.”
In addition, such tactics do not help when cybercriminals compromise a web server and load malicious pages on the site, Abrams said. In those cases, the URL would look fine, so the only tip-off would be if the page seeks personal information unrelated to the site.
“There will be users who do not put two and two together to figure out that ‘kinder_peope_love_you.com’ is probably not a safe place to share their banking credentials,” Abrams said.
A recent comparison of browser malware detection found Chrome trailing IE with a block rate of 70.7 percent versus 99.9 percent, according to NSS Labs.
The malware threat typically starts when criminals send email crafted to trick the recipient into clicking on a link that leads to a malicious webpage. Chrome and IE use a combination of URL filtering and application reputation technology to detect bogus URLs and malware.
Besides questionable effectiveness, Google’s anti-phishing feature is also flawed, according to PhishMe, which provides security training to companies.
PhishMe reported this week that the feature failed to display long URLs. How long would depend on the size of the browser window, but URLs over 98 characters were certain to disappear.
Chrome Canary is intended for developers and early adopters of the browser. Because it is meant for testing, Google warns that the browser could “sometimes break down completely.”
-
-
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…
-
-
-
Massive leaps in computing power, hidden layers, hardware backdoors — encrypting sensitive data from
Sign up for our CSO Update newsletter
The massive data breach that tarnished the career of Target Chief Executive Gregg Steinhafel and
The anti-phishing feature currently available in the test version of Google’s next iteration of Chrome
A recent analysis of network traffic in thousands of organizations found the majority of them were
Snapchat settles with the agency over ‘false promises’ around privacy
Microsoft plans to deliver eight security updates on May 13 for IE, Windows, Office and SharePoint;
<!–
