Mostrando las entradas con la etiqueta Seguridad. Mostrar todas las entradas
Mostrando las entradas con la etiqueta Seguridad. Mostrar todas las entradas

domingo, junio 28, 2015

Nuevas capacidades del System i (AKA AS400)

Se llame System i, AS400, o cualquier otro nombre intermedio, el i no es un equipo estancado, sino todo lo contrario: robusto como siempre, y evolucionado al paso de las tecnologías. Como un breve recordatorio, Alex Woodie, en The Four Hundered, enumera las nuevas características sumadas entre 2014 y 2015:
1. Native Flash Storage
IBM added support for native flash storage in the latest round of technology refreshes, which were IBM i 7.1 TR 10 and i 7.2 TR 2. This enables native use of solid state drives (SSDs) based on flash technology.
Prior to this, getting flash storage running on an IBM i-based Power Systems server was accomplished by way of the Virtual I/O Server (VIOS). Not all IBM i shops are thrilled with VIOS, which is an AIX program and can muddy the troubleshooting of performance issues. Thanks to VIOS and the overall adoption of virtualization in the IT world, there are rumblings from the natives that we've gotten too far away from the data.
But thanks to native support for flash, IBM i shops can now benefit from the ridiculous performance boost that NAND technology can deliver, especially for busy IBM i applications that are I/O bound with traditional DASD. And it can do so without going down the VIOS/AIX rabbit hole, which still looks intimidating to smaller shops.
2. Row and Column Access Control
This security feature was added with the release of IBM i 7.2 in 2014 to prevent unauthorized users from accessing huge swaths of data. As IBM's DB2 for i guru Mike Cain explains, RCAC was added at the request of IBM i customers to protect sensitive data.
"Prior to RCAC, the security scheme was provided through the object-based security measure," Cain says in this video on the RCAC Redbook landing page. "This really means that someone. . . could get access to all of the rows or records, or they would have no access to the row or file."
Since there was no prior way for DB2 for i to subset the record access--absent defining it at the application level, which leaves the data vulnerable still to ODBC/JDBC--IBM built it, and that's RCAC. "DB2 for RCAC provides a new and robust solution that allows for the governance and control of data through all interfaces, whether those interfaces are SQL or whether they're native record-level access," Cain says.
Simply put: If you need to dole out data based on a user's specific role and don't want to completely rebuild your database schema to prevent snooping, then you need RCAC, which means you need IBM i 7.2.
3. JSON
IBM added a technology preview for JavaScript Object Notation (JSON) in IBM i 7.2 TR2 and IBM i 7.1 TR10, which shipped in the spring.
JSON is a lightweight, human-readable data format that's become the default way that Web applications store and share data. Compared to XML--which 10 years ago paved the way toward self-definable data--JSON is both easier for programmers to use and faster to load.
Considering the rising adoption of JavaScript frameworks like Dojo, Ext JS, and jQuery among IBM i developers for front-end Web development, it was a natural for IBM i to add support for JSON in the database. (While JavaScript doesn't require JSON, there are advantages to using them in combination.)
The JSON Store Technology Preview that IBM shipped with the latest TRs allow JSON documents to be stored and retrieved using DB2 for i database tables. For a good primer on the three ways developers can utilize JSON, check out this recent developerWorks article.
4. Node.js
IBM unveiled support for last October with IBM i 7.1 TR9 and IBM i 7.2 TR1.
You're probably aware of how JavaScript can accelerate development of Web clients. The frameworks mentioned above bring a host of out-of-the-box UI widgets that developers can easily drop into their development environment. What Node.js does is extend that ease-of-use to the server. Node.js (or simply "Node" to those in the know) is an open-source runtime environment for server-side applications written in JavaScript. The framework has been widely adopted because it takes much of the complexity out of building and running scalable, data-intensive Web applications.
The addition of Node.js is a good example of IBM reacting to changing trends in application development (the addition of support for Ruby is another example). To learn more about Node.js, check out Aaron Bartell's LinkedIn story about his first experience with the framework.
5. REST Web Services
IBM's support for Representational State Transfer (REST) Web services, which IBM shipped in December with the group PTFs for IBM i 7.1 TR9 and IBM i 7.2 TR1, can be grouped into the same vein as JSON and Node.js: Keeping the platform relevant to a new class of developers and a new programing style.
If JSON has become the defacto data integration standard on the Web (largely replacing XML), then REST has become the defacto program integration standard for Web-based applications--largely replacing the XML-based service oriented application protocol (SOAP) that came before it.
If you want to connect your IBM i app so it can talk to hosted cloud service, such as Salesforce or Netsuite, you're going to be doing it via REST. IBM i developers who want to keep their apps current would do well to adopt REST, not only to partake of the rich ecosystem of REST-enabled services that are already out there, but to contribute back to it too.
Como se ha dicho otras veces, el problema no es el 400, sino la apertura de ideas de quienes toman decisiones sobre su uso. Usado como servidor, suele quedar atado al criterio más bien conservador en el manejo de la lógica de negocios escrita en los servidores.

sábado, febrero 28, 2015

A propósito de Lenovo y Superfish


El escándalo de Lenovo y su adware preinstalado Superfish generaron un rechazo comparable al producido por las revelaciones escalonadas de las interferencias de la NSA americana. Es que como se ha dicho, "es muy posiblemente la peor cosa que he visto que un fabricante haga a su base de clientes." (Mark Rogers). En sus palabras:
We trust our hardware manufacturers to build products that are secure. In this current climate of rising cybercrime, if you can’t trust your hardware manufacturer, you are in a very difficult position. That manufacturer has a huge role to play in keeping you safe – from releasing patches to update software when vulnerabilities are found to behaving in a responsible manner with the data the collect and the privileged access they have to your hardware.
When bad guys are able to get into the supply chain and install malware, it is devastating. Often users find themselves with equipment that is compromised and are unable to do anything about it. When malware is installed with the access a manufacturer has, it buries itself deep inside the system – often with a level of access that takes it beyond the reach of antivirus or other countermeasures. This is why it is all the more disappointing – and shocking – to find a manufacturer doing this to its customers voluntarily.
Para no abundar en lo conocido, el fabricante Lenovo entregaba sus portables con software preinstalado, entre ellos Superfish. Este producto interfería las búsquedas del usuario insertando sus propias publicidades. Esto de por sí es molesto y desagradable, y el software antiadware se ocupa de este tipo de productos. Pero el mayor problema es que para conseguir este objetivo, Superfish reemplaza los certificados de seguridad de los sitios accedidos por uno suyo propio, creando las condiciones para que ninguna página resulte confiable a través de una conexión SSL. Mark Rogers da un informe detallado de la vulnerabilidad que se produce (y también de cómo solucionarlo). ¿Qué puede hacer un usuario si su proveedor lo traiciona y lo entrega atado de pies y manos?
En este sentido va la respuesta de la fundación de Software Libre:
Whenever you use proprietary software like Windows or Superfish, true, trustable, verifiable security is always out of reach. Because proprietary code can't be publicly inspected, there's no way to validate its security. Users have to trust that the code is safe and works as advertised. Since proprietary code can only be modified by the developers who claim to own it, users are powerless to choose the manner in which security bugs are fixed. With proprietary software, user security is secondary to developer control.
En muchos escenarios suele ser muy difícil evitar el uso de software propietario. Sin embargo, las crecientes interferencias en la privacidad del usuario, ameritan evaluar dos y tres veces las posibilidades de tomar otro camino y el riesgo de ponerse en manos de quien eventualmente no respeta los derechos del comprador.

Destacamos: la explicación del agujero de seguridad de Superfish, por Mark Rogers.
La expliación de Filippo Valsorda, y su test de riesgo sobre Superfish.
La investigación de Robert Graham sobre Superfish y su fallo.
El comentario de David Auerbach sobre el impacto de esta acción sobre Lenovo.




sábado, agosto 30, 2014

IOT, ¿para cuándo?

Jean Marc Coté, 1899, el futuro
Andrew Binstock, en Dr Dobb's, pone un poco de realismo en el estado de IOT, (la Internet de las cosas): todavía estamos a distancia de su funcionamiento a pleno...¿cuanta distancia? Binstock habla de un buen tiempo faltante todavía, y es probable que así sea...
Binstock señala tres fuentes importantes de inmadurez: seguridad, infraestructura de red, y estándares:
In the case of IoT, the obstacles are significant: In addition to many secondary issues, network infrastructure, security, and data formats are the salient questions. The last two items, especially security, are important obstacles. Security violations will no longer mean just the simple, but now accepted, bother of waiting for new credit cards and monitoring your credit profile. Rather, a breach means access to very personal data about you, your family, your car, your home, your possessions. The danger is significant. If I can read sensor data in your house, I might well be able to know that despite the lights being on, the TV playing, and the car in the driveway, there is nobody home. And equally frightening, I might be able to issue commands to the various connected devices.
However, security alone is not a big enough obstacle to prevent the IoT. It's just one that will need to be handled before mass adoption. Network infrastructure, however, is a whole different story. If each device becomes an Internet endpoint, there is little doubt that IPv4 will run out of numbers almost immediately (as it's been on the verge of doing for much of this decade). While it's certainly possible that NAT will allow devices to operate behind a single IP address and then post data for retrieval elsewhere, this is not the design generally presented nor one that is particularly desirable. It seems fairly clear that for IoT to become a reality, the world needs to move to IPv6. Most ISPs today and most networked devices are IPv6-ready, but only a tiny fraction have actually switched over. This issue alone will add several years to full IoT adoption.
Finally, there are the questions about agreement over data formats, APIs, and programming conventions. As has occurred frequently in the past, whenever new important technologies arise, there is a first wave of standards that are mostly patches on the problem, followed by more robust and more widely accepted standards that truly enable interoperation. We are far from getting accord on those matters, in part because of the problem left unstated by so many vendors: Except for a few medical devices and the occasional smart thermostat — all of which are crude implementations of IoT — there is no large-scale implementation. Everything is experimental, prototype-stage, exploration. All of which is indeed good, but hardly suggests that significant roll-outs are at hand or even imminent. 

martes, agosto 12, 2014

Internet Explorer ajusta el control de Java

Aunque semioficialmente en el blog de IE en MSDN se presenta como el comienzo del bloqueo de ActiveX obsoletos, y así lo puede encontrar anunciado en cualquier búsqueda, de lo que se trata en verdad es del bloqueo de versiones obsoletas de java, tal como Firefox, por ejemplo, también viene haciendo. Me interesé especialmente porque desde hace tiempo la tecnología de ActiveX viene siendo dejada más o menos de lado en Windows, y quizá esperaba ver alguna clase de búsqueda heurística que definiera qué parámetros determinarían el veto de un ActiveX. Pero parece ser que se trata de revisar una lista, formada sólo por versiones de java (¿se podría modificar la lista?).
Tratándose de algo relativamente simple, todas las versiones de IE activas (8 a 11) comenzarán a poner en práctica el bloqueo a partir del 9 de septiembre.
El alcance del control:
The out-of-date ActiveX control blocking feature works with:
  • On Windows 7 SP1, Internet Explorer 8 through Internet Explorer 11
  • On Windows 8 and up, Internet Explorer for the desktop
  • All Security Zones—such as the Internet Zone—but not the Local Intranet Zone and the Trusted Sites Zone
This feature does not warn about or block ActiveX controls in the Local Intranet Zone or Trusted Sites Zone.
Nótese que en Windows 8, sólo se menciona Internet Explorer for the desktop. Kurt Mackie, en Redmond Magazine, justifica esto en que no es posible instalar java en Metro (The blocking isn't happening for IE on the Windows 8 and Windows 8.1 Windows Store Apps ("Metro") side because the Windows Store Apps browser only supports the Adobe Flash Player add-on, but not other add-ons)
Versiones de Java vetadas en la lista:
J2SE 1.4, everything below (but not including) update 43 
J2SE 5.0, everything below (but not including) update 71 
Java SE 6, everything below (but not including) update 81 
Java SE 7, everything below (but not including) update 65 
Java SE 8, everything below (but not including) update 11
De las preguntas y respuestas:
Which outdated ActiveX controls are covered in this update?
No ActiveX controls will be affected when the feature is initially released in August. In September, only out-of-date Oracle Java ActiveX controls will be affected. All other ActiveX controls will continue existing behavior.
Is out-of-date Java the only ActiveX control being blocked by this feature in September?
In September, yes, only out-of-date Oracle Java ActiveX controls will be blocked by this feature. However, Internet Explorer will consider blocking additional common, but out-of-date ActiveX controls in future updates.
Can this feature be disabled if my enterprise requires an older version of the Java runtime?
Yes, there are several ways to disable this feature. Microsoft provides updated IE group policy administrative templates which include 4 new group policies to control this feature*. Two of these group policies can be used to disable this feature on a per domain basis or entirely.
My enterprise has line-of-business web sites that depend on out-of-date Java ActiveX controls in the Internet zone, will they be affected?
Out-of-date Java ActiveX controls will not be initially affected, giving customers thirty days to test and manage their environments. After September 9, when end users attempt to load the out-of-date Java ActiveX control, a prompt will be shown to the user (as described in earlier in the post). The end user will be able to click the “Run this time” option to load the out-of-date Java ActiveX control. Once loaded, the Java out-of-date ActiveX control will work as usual.
Can end users choose to override the prompt if a trusted application requires out-of-date Java use?
Yes, users can choose the “Run this time” option for internet sites requiring out-of-date ActiveX control use.
En fin, por ahora, el único peligro es Java. Tiene 30 días desde el 9 de septiembre para inventariar sus aplicaciones con versiones de java listadas, y buscar una solución. De todas formas, en el peor de los casos es posible deshabilitar completamente esta política. Una discusión sobre las políticas de exclusión en el comentario de Ed Bott.

jueves, julio 18, 2013

Cloud computing y soberanía

La reciente comprobación de la nula privacidad de las comunicaciones electrónicas, ya no sólo en el tráfico de datos, sino también en las comunicaciones telefónicas o incluso en el seguimiento de matrículas de autos, ha establecido un freno importante a la expectativa de uso de cloud computing. No estamos hablando ahora sólo de prevenciones en cuanto a la seguridad o disponibilidad de los datos y servicios, sino de la intromisión incontrolada en su contenido. La comprobación de que distintas oficinas de control de seguridad en múltiples países pueden acceder a datos privados sin mediar una orden judicial expresa, pone en duda cualquier plan de externalización de datos. ¿Pueden sus datos, bajo circunstancias especiales, estar sujetos a espionaje industrial?. Quizá sea hora de pensar dos o tres veces qué se pondrá fuera del control de una red privada.
Pablo Albarracín, en América Economía, puntualiza los problemas jurídicos relacionados con la normativa que cada país dicte para la protección de datos, destacando que estos se convierten en un problema de soberanía nacional:
El caso PRISM ha resucitado la preocupación sobre la soberanía de los datos. ¿Los datos que una compañía o gobierno considera estratégicos, deben estar en una nube internacional o en servidores y data centers dentro del territorio nacional? La masiva adopción del cloud, desde el popular Gmail a sofisticadas plataformas empresariales, está provocando una ambigüedad geopolítica de datos en todos los frentes. Dicho de otro modo, Snowden sacudió en la cara de todos los gobiernos y agencias de seguridad del mundo su deficiente soberanía informática.
El tema es más importante de lo que aparenta, puesto que pone en juego la reputación y confiabilidad del cloud como depositorio de los datos críticos, como pueden ser secretos militares, patentes industriales, información de los clientes de un banco o la información clínica de toda una ciudad o región. Una óptima adopción del cloud debería asegurar que los proveedores de la nube garanticen a sus clientes que los datos se alojen en el país de origen."La soberanía de datos se ha convertido en la principal preocupación para los clientes fuera de los EE.UU. que están buscando la adopción de una nube pública", dice el informe de Gartner Data Sovereignty Can Be a Hurdle for the Adoption of Cloud Computing. "Durante los próximos cinco años, los problemas de soberanía de datos disminuirán a medida que más proveedores pongan atención a este asunto. Sin embargo, el problema no va a desaparecer por completo".

De esta manera, tanto el cliente como el proveedor de la tecnología, evitan confusiones relativas a las diferentes normativas legales que cada país posee y que pueden generar problemas al momento de enfrentar un litigio (Google y Microsoft mucho saben de esto a raíz de PRISM). Más aún, cuando la oferta cloud está abarcando no sólo la capa de software (SaaS), sino que los niveles más físicos del cloud también cuentan con una oferta deslocalizada (IaaS, PaaS). La seguridad nacional puede estar en riesgo.
“Los datos no son de Google, los datos son de las empresas. Ellas son las dueñas de los datos y se responsabilizan de la información"
, dice Gabriela Franchetto, Google Enterprise Sales Manager. "Google se pone a disposición de ustedes (los clientes), pero los datos no son nuestros, sólo la infraestructura que los aloja”. (Conozca más sobre los aspectos legales y técnicos en la adopción del cloud en el reportaje: Leyes del Cloud Computing: ¿está la región preparada para subirse a la nube?)

Según el estudio Data Sovereignty and the Cloud de la University of New South Wales (UNSW) y el Cyberspace Law and Policy Centre, el lugar donde se alojan los datos es una problemática no sólo técnica, sino que legal y estratégica de un país. El tema ha dejado de ser asunto exclusivo de abogados a considerarse un punto importantísimo en gestión de riesgo, empresarial como gubernamental, situación que irá creciendo con los años.
Albarracín destaca la probable acción de Brasil expresada a través de su ministro de Comunicaciones, Paulo Bernardo Silva, de exigir por ley a sus proveedores de servicio de almacenamiento de datos de que éstos sean alojados en el país:
Según informó EFE, el ministro afirmó que el almacenamiento de los datos en el país es un asunto de soberanía nacional debido a que las empresas de internet se están negando a ofrecerle datos a la justicia brasileña con la disculpa de que sus archivos no están en el país. Bernardo se refirió a la reciente negativa de Google de entregar copias de un e-mail a un tribunal que investiga un caso de lavado de dinero. "Con esas denuncias (de Snowden) vimos que ellos (las empresas) entregan todo. Aquí alegan que no pueden hacerlo".
"Creamos incentivos para que los centros de datos se instalasen en Brasil y les suspendimos todos los impuestos sobre la compra de equipos, pero creo que ahora vamos a tener que obligarlos a almacenar los datos aquí". Bernardo señaló que además de obligar a las empresas a archivar sus datos en el país, el gobierno también va a invertir en infraestructura de  redes locales y a promover una reforma en la gestión internacional de internet, para que sea asumida por la ONU y no por Estados Unidos.

"El problema es que la internet tiene reglas de gestión exclusivamente dictadas por Estados Unidos.
Defendemos una gestión multilateral y multisectorial. Países y sociedades tienen que estar representados, pero los Estados Unidos se resisten mucho y frenan cualquier intento de discusión sobre el asunto", puntualizó.
La probable exigencia de Brasil de radicar localmente los datos, de todas formas, no hace sino agregar una razón más a las dudas más que razonables de externalizar datos: localizarlos fronteras adentro no cambia el problema, sólo lo sujeta a las particulares exigencias de las agencias nacionales. Es decir: quien piense en externalizar, piense de nuevo. Y no sólo con un abogado, sino con un analista político.

miércoles, junio 19, 2013

Privacidad de datos y Cloud Computing

del último número de Dr Dobb's, comentario de un usuario:
 From the beginning, I have always questioned the pros and cons of the cloud and their services. I have my doubts concerning security, privacy, corporate fortitude, and price and rule changes of cloud providers. Your discussions have moved me further away from these services and have added extra nails to their coffin.
— JLONERO8255, Dr. Dobb's member
Expresado en las respuestas y comentarios al artículo Through a PRISM darkly.

Del propio artículo:
The first and most profound effect will be a serious reconsideration of the wisdom of putting data into the public cloud. The previous argument for migrating data and apps to the cloud was that cloud hosts, such as Amazon, Google, and Microsoft, are much better at defending their systems from hackers than most corporate IT departments are. This view is supported by the contention that those companies can afford to hire hundreds of security professionals to provide the necessary protection, vigilance, and intelligent response — while most IT organizations can hire perhaps a few dozen, with no real ability to scale response in times of attack.
This argument, taken by itself, is still valid. However, it can no longer be taken by itself. A new dimension has appeared; namely, that the government can more or less at will see the contents of communications and data held on servers at cloud hosts. The important factor is that the government can gain this access without ever notifying the target company that its data has been copied to government servers.
Cada uno que ajuste sus propias cargas...

lunes, octubre 12, 2009

Cloud Computing bajo fuego (¿o un sistema de responsabilidad?)

Publicado el 11 de octubre en New York Times: "algunos" usuarios de T-Mobile y Danger, subsidiarias de Microsoft, perderían la información personal en sus cuentas (agenda, fotos, listas de tareas):
The cellphone provider T-Mobile and Danger, a subsidiary of Microsoft and one of T-Mobile’s partners, said over the weekend that a technical glitch in their computer systems would probably result in some customers losing their personal information like contact names, phone numbers and digital photos.
T-Mobile and Danger operate what has become known as a cloud computing service to store important information for their customers. In theory, such a service should make life easier on people by leaving the management of complex computing systems to the pros and having data held in sophisticated computing centers. But when problems crop up, embarrassment ensues.

[...] Employees at the companies have worked over the weekend to try and fix these problems, but, as of Sunday afternoon, there were still some data and software application service flaws.

“Our teams continue to work around the clock in hopes of discovering some way to recover this information,” T-Mobile said in a statement on its Web site. “However, the likelihood of a successful outcome is extremely low.”

Lo que inicialmente alerta sobre la confiabilidad de la computación "en la nube", adquiere un color más personalizado en otros comentarios: En el curso de una actualización de hardware, no se habrían hecho respaldos adecuados (la hipótesis es algo más cruda: no se habrían hecho, llanamente):

By now the word is out on the street. Microsoft/Danger has most likely lost everyone’s personal info including contacts, notes, calendar entries, to-dos, etc. The question remains: How did this happen? Microsoft is a big software company, they’re well versed in the enterprise world and should have systems in place that allow them to weather any sort of issue like this. Of course everyone (T-Mobile, Microsoft/Danger) hasn’t come out with any details on the cause of the failure, but we’ve got some theories and rumors floating around.

Currently the rumor with the most weight is as follows:
Microsoft was upgrading their SAN (Storage Area Network aka the thing that stores all your data) and had hired Hitachi to come in and do it for them. Typically in an upgrade like this, you are expected to make backups of your SAN before the upgrade happens. Microsoft failed to make these backups for some reason. We’re not sure if it was because of the amount of data that would be required, if they didn’t have time to do it, or if they simply forgot. Regardless of why, Microsoft should know better. So Hitachi worked on upgrading the SAN and something went wrong, resulting in it’s destruction. Currently the plan is to try to get the devices that still have personal data on them to sync back to the servers and at least keep the data that users have on their device saved.

We’ve heard this from what appears to be several sources and it seems to hold weight. Needless to say it all boils down to one thing: Microsoft did not have a working backup.

How this happens in today’s day and age is beyond belief. Hundreds of thousands of customers that generate millions of dollars in revenue means you back their stuff up, in triplicate. You test these backups regularly, and you move a copy off site that doesn’t get touched except in case of an emergency (i.e. right now). The head of the mobile division (and person in charge of what’s left of Danger) is Roz Ho, who has been at Microsoft for 18 years. You would think she’d know something about how to run a business.

What does this mean for the future of the Sidekick? Unless Microsoft pulls a miracle out of thin air the Sidekick is dead. People are already jumping ship to other phones with this news, and the exposure of how inept Microsoft is when it comes to the mobile world is huge. If Microsoft can’t continue to run Danger, a company that was ground-breaking and solidly built, how can we expect anything from the Windows Mobile department?

(Comentado en Hiptop3.com, un sitio dedicado a Sidekick).
Otras referencias: Om Malik, y Eric Zeman, en Information Week.
Zeman saca la conclusión genérica: usa la nube, y haz tus backups:
T-Mobile isn't alone in the service they provide. Other mobile companies, such as Google, Apple, Palm, and Microsoft, have cloud-based data management systems that users can take advantage of. I think the bottom line here is pretty clear. Cloud storage can certainly provide for a back-up that's mostly trustworthy, but making sure you back-up data locally can prevent real disasters.

martes, julio 28, 2009

Una apropiación útil de Twitter

El primer uso publicitado para Twitter fue el de "blog minimalista". Un uso que parecería sólo adecuado para la poesía japonesa...Pero el real valor del servicio parece haberse encauzado hacia la conformación de corrientes de noticias, o redes de diálogo orientados a atender un evento, es decir, actividades que requieren flexibilidad y rapidez.
Dentro de este esquema parecería caber adecuadamente el uso en actividades financieras, tal como describe Bianca Pinto Lima en América Economía.
“‘Compra con el rumor y vende con la noticia’ es uno de los dichos más antiguos de Wall Street, y cualquier herramienta que mejore la velocidad o la calidad de la transmisión de la información interesa a los inversionistas. Twitter hace eso”.Esa es una de las razones citadas por Mark Palmer, presidente de StreamBase, en su blog, para que la nueva red social se considere una aliada del mercado financiero.La empresa estadounidense de tecnología de la información lanzó en junio una actualización de su software de análisis de datos CEP (Complex Event Processing), que permite filtrar y analizar en tiempo real, además de los medios tradicionales, la información que circula en Twitter
[...] Creado este año, el microblog de InvestBolsa (sistema de Home Broker de la corredora de bolsa Spinelli) ya posee más de 1.400 seguidores, y suma entre 20 y 30 nuevos miembros todos los días. “Twitter fue muchas veces el primer canal para divulgar información, incluso antes que los medios tradicionales”, destacó el responsable del área de Home Broker de Spinelli, Rodrigo Puga. Para no ser víctima de manipulaciones, Puga aconseja que el inversionista busque fuentes creíbles y que siga microblogs de empresas respetadas. “Personas con más seguidores tienen más credibilidad, y acaban transformándose en una opinión de peso para cualquier mercado, incluso el financiero”, afirmó.
Pinto Lima menciona StockTwits, como caso de uso en este sentido:
StockTwits, una nueva herramienta creada en Estados Unidos, sirve para facilitar esa búsqueda. La comunidad utiliza la misma plataforma de microblogs de Twitter y permite que inversionistas intercambien información rápida en tiempo real, sobre qué acciones están comprando y vendiendo, además de datos del mercado y posibles tendencias. En este caso, la pregunta que se debe responder es: ¿qué estás negociando? La ventaja es que la comunidad da la posibilidad al internauta de crear sus propios filtros, o sea, que reciba información sólo de determinadas acciones y de las fuentes que considera más confiables.
Twitter en la comunicación con el cliente:
“Hace algunos años, las empresas discutían la posibilidad de tener una parte del sitio dedicada a la relación con el inversionista, ahora eso es un lugar común. De aquí a un tiempo, las empresas utilizarán medios sociales para relacionarse con el inversionista, lo que también será un lugar común”, afirmó el director de comunicación del Instituto Brasileño de Relaciones con Inversionistas (Ibri), Luis Fernando Moran de Oliveira.
El Ibri creó un microblog en Twitter hace tres meses, y hoy cuenta con 115 seguidores. Entre las ventajas de la herramienta, Oliveira enumera la capacidad de hablar con muchos al mismo tiempo y la certeza de que las personas están interesadas en lo que se habla, “al final, ellos escogen seguirte”. “Eso disminuye el ruido en la comunicación y aumenta la eficiencia”, sostuvo el ejecutivo.
Por supuesto, esto es un ensayo. Su principal inconveniente es la inseguridad. Así, los casos destacados apuntan a grupos cerrados y con relaciones de confianza. Sin ésto, un consejo de inversión tomado desde este medio podría ser suicida.

martes, marzo 24, 2009

Swift, un experimento sobre seguridad en Web

Lambda The Ultimate comenta un ensayo en curso que parece muy interesante: Swift, un sistema que basa la construcción de aplicaciones web en la utilización de una extensión de Java que aplica políticas de seguridad, y en tiempo de compilación divide el código entre JavaScript en el cliente, y Java en el servidor. Para seguir, tenga éxito o no. Presentación en Lambda...:

Swift: making web applications secure by construction

Swift is a language-based approach to building web applications that are secure by construction. Swift applications are written in the Jif language, a Java-based language that incorporates "security-typing" to manage the flow of information within an application. The Swift compiler automatically partitions the application code into a client-side JavaScript application and a server-side Java application, with code placement constrained by declarative information flow policies that strongly enforce the confidentiality and integrity of server-side information.

Swift was recently featured in the "Research Highlights" section of the Communications of the ACM, as a condensed version of an earlier conference paper. The original conference paper is Stephen Chong, Jed Liu, Andrew C. Myers, Xin Qi, K. Vikram, Lantian Zheng, and Xin Zheng, Secure web applications via automatic partitioning, Proceedings of the 21st ACM Symposium on Operating Systems Principles (SOSP'07), pages 31–44, October 2007.

Jif has been mentioned previously on LtU here and here.

La presentación en el sitio de Swift:

Swift is a new, principled approach to building web applications that are secure by construction. Web applications are hard to build because code and data need to be partitioned to make them responsive. They are also hard to build because code and data need to be partitioned for security. Currently there are no good methods for deciding when it is secure to move code and data to the client side.

Because of the connection (and tension) between the problems of security and interactive performance, Swift addresses both at once, automatically partitioning application code while providing assurance that the resulting placement is secure and efficient.

In the Swift approach, application code is written in the Jif language, a Java-based language that includes information security policies. The source code is automatically partitioned into JavaScript code running in the browser, and Java code running on the server. For interactive performance, code and data are placed on the client side where possible. Security-critical code is placed on the server and user interface code is placed on the client. Code placement is constrained by high-level, declarative information flow policies that strongly enforce the confidentiality and integrity of server-side information. The Swift compiler may also choose to replicate code and data across the client and server, with benefits for both security and performance.

En la base del sistema está Jif, que es descripto así en su sitio:
Jif is a security-typed programming language that extends Java with support for information flow control and access control, enforced at both compile time and run time. The source code for the Jif compiler and run-time system is now available for download. Jif is written in Java and is built using the Polyglot extensible Java compiler framework.
Static information flow control can protect the confidentiality and integrity of information manipulated by computing systems. The compiler tracks the correspondence between information the policies that restrict its use, enforcing security properties end-to-end within the system. After checking information flow within Jif programs, the Jif compiler translates them to Java programs and uses an ordinary Java compiler to produce secure executable programs.

Jif extends Java by adding labels that express restrictions on how information may be used. For example, the following variable declaration declares not only that the variable x is an int, but also that the information in x is governed by a security policy:

    int {Alice→Bob} x;

In this case, the security policy says that the information in x is controlled by the principal Alice, and that Alice permits this information to be seen by the principal Bob. The policy {Alice←Bob} means that information is owned by Alice, and that Alice permits it to be affected by Bob. Based on label annotations like these, the Jif compiler analyzes information flows within programs, to determines whether they enforce the confidentiality and integrity of information.

¿Podría agregarse una capa más, para crear el código que luego se compilará?. Para investigar, en la hora 25 del día...

domingo, febrero 03, 2008

Pishing: anatomía de un ataque

En la sección de referencia de seguridad de Informit, los autores Cyrus Peikari y Seth Fogie publican un detallado caso de pishing sobre PayPal, conveniente de archivar para aprender:

The phishing attack came in the form of an email that appeared to be from PayPal. Since the title of the email stated “Please update your billing records or your account will be suspended. Thanks!", it was clearly designed to alert the victim in a way that is bound to get their attention. Contained in the body of the email was a warning that my account would expire in 12 hours unless I updated my records. Included with the message was a helpful link to http://www.paypal.com. Unfortunately, for those not paying attention, this link actually went to http://xxxxxxxxxxx.com/awstats/cgi-bin/.

We decided to follow the link because we like to keep in the loop of what the phishers are up to incase we are called by a client who is curious as to how their identity was stolen. In addition, as we tend to discover, people who use these phishing scams sometimes make mistakes and leave a trail of information that can be helpful in stopping them.

(...) This phishing attack is interesting for several reasons. First, it actually validates the user information before collecting it. Second, if the user information is valid, it grabs key pieces of data that enhance the spoofing attack to convince the reader they are really at PayPal. Third, the script supports remoting parts of the attack, which can make it much more versatile. Finally, the phisher who is using this script is getting owned as well.

It should be noted that we contacted the site owner via an email address provided by Network Solutions. We also contacted Yahoo, Google and PayPal with the relevant information and even went so far as to email the victims with a warning that their credentials were captured and that they were victims of a phishing attack. Over the several days that we monitored this site before it was shutdown, it harvested over 30 PayPal accounts. Of the victims we contacted, only a couple realized they had been a victim of a phishing attack

domingo, enero 20, 2008

Web 2.0 , riesgos 2.0

En América Economía, Andrés Piedragil comenta afirmaciones de Colin Lawrie, gerente de Operaciones para México de BitDefender, y de Daniel Salomón, ingeniero de Pre Venta de McAfee México, que si bien están en el marco probable de una promoción comercial, no dejan de ser adecuadas al tipo de problemas de seguridad que se avecinan con el uso de nuevas herramientas de mayor interactividad en las redes sociales y profesionales.
El artículo:
Iniciar 2008 con el pie izquierdo es la cosa más sencilla del mundo. Basta con abrir el correo electrónico que incluye una felicitación para augurar un buen año; haber realizado transacciones, para adquirir obsequios o generar pagos, en la página falsa de un banco o establecimiento comercial; descargar archivos MP3 de una página electrónica para estrenar el iPod que trajo Papá Noel; haber visitado los perfiles de los amigos, con la intención de mandar besos y abrazos invernales, en la red social preferida (como Facebook o Hi5.com).
Estas cotidianas y sencillas actividades en línea abandonarán, quizá para siempre, su carácter ingenuo e inocuo. Con una magnitud que no se había presentado en años previos, 2008 podría convertirse en el año de mayor vulnerabilidad para el estilo de vida digital; lo que se manifestará con la proliferación de amenazas informáticas diseñadas específicamente para redes sociales, videojuegos en línea, mensajería instantánea, sitios de apuestas online, telefonía IP, blogs. “En 2008, veremos ataques informáticos mucho más focalizados en el factor de la vida en línea”, dice el argentino Colin Lawrie, gerente de Operaciones para México de BitDefender, empresa especializada en soluciones de seguridad para hogar y empresas. Sin que esto signifique, añade, que las transacciones electrónicas –banca en línea, comercio electrónico– vayan a quedar en el olvido de los criminales digitales.
El interés de los delincuentes en espacios electrónicos que no parecen ofrecer un buen botín económico, ya que están dedicados a la interacción eminentemente social, no es casual. No aspiran al dinero inmediato; sino a tesoros que explotarán más adelante y que serán los más redituables en los próximos 12 meses: el robo de la información del usuario (que obtienen en estos espacios sociales) –para venderla después y entonces sí recibir una recompensa monetaria– y el “secuestro” remoto de la máquina para utilizarla en otras iniciativas digitales delictivas (generación de Spam, fraudes, ataques para saturar servidores). Datos del proveedor de software de seguridad Trend Micro señalan que, a la fecha, más de 150 millones de computadoras han sido secuestradas en el mundo. En lo que toca a potenciales víctimas para robo de identidad o información personal, los criminales saben que tienen un gran menú a la mano: por mencionar tres ejemplos, 420 millones de usuarios de Windows Live Messenger; 50 millones de Facebook y más de 240 millones de Skype.
Y para sufrir el robo de datos personales o el secuestro de la PC, en muchas ocasiones, sólo hace falta hacer una llamada por Skype, recorrer perfiles de Hi5.com, o dar clic en una liga electrónica que llega a través de un contacto conocido de la aplicación de mensajería instantánea (por ejemplo: “Descubre quién te bloqueo en su Messenger”). Así, el llamado “Digital LifeStyle” se convertirá en la puerta de entrada de los criminales digitales. En ese sentido, más que esperar la masiva aparición de innovadoras clases de alimañas digitales, los expertos consideran que las amenazas ya existentes –como todas las variantes de virus y códigos maliciosos– se adaptarán a los nuevos blancos de infección, y desarrollarán variantes y capacidades ad hoc. “Ahora hay que pensar en prácticas y tecnologías de protección que miren al futuro; que consideren elementos como Web 2.0, telefonía IP, mensajería instantánea”, apunta Daniel Salomón, ingeniero de Pre Venta de McAfee México, firma especializada en software de seguridad.
Aunque nadie se atreve a calcular las ganancias económicas que podrían obtener los criminales al explotar con mayor énfasis esta vía digital, hay consenso en que las pérdidas que ya registran empresas del todo el mundo sólo pueden crecer. Una investigación de Internacional Data Corporation (IDC), casa consultora especializada en tecnologías de la información, señala que, para 2007, un ataque de virus representaba un costo promedio de US$ 60.000; US$ 44.000 por un acceso no autorizado; US$ 42.000 por robo de información propietaria; y US$ 10.000 por un ataque de negación de servicio (saturación de servidores). El usuario común puede enfrentar situaciones aún más trágicas. Al ser víctima de un robo de identidad –la modalidad de crimen digital que mayor crecimiento registra: 300% anual, según IDC–, sus datos podrían ser utilizados para obtener una tarjeta bancaria en Yugoslavia; con la cual se realizarán operaciones financieras en Japón. Para cuando el afectado descubra el timo, quizá la totalidad de su patrimonio bancario esté perdida.
Todo vendedor destacará aquello que le interese para hacer atractivo su producto. Pero, separando la hojarasca, no hay duda que éste es el terreno de los futuros riesgos en Internet, al menos en términos generales: los fraudes más sustanciosos seguramente serán más sutiles y personalizados.

viernes, septiembre 07, 2007

Seguridad en bases de datos (a propósito de Monster)

Peter Schooff, en Ebizq, menciona, en el contexto de algunos problemas de seguridad recientes (1 y 2), cinco puntos que considera "claves" en la seguridad de bases de datos expuestas, retomando recomendaciones de Forrester Research: Monitoreo, evaluación de riesgo, enmascaramiento de datos (este punto es nuevo para mí) , encriptación, auditoría

Security is not just some product that you can buy off the shelf and that’s it, you’re secure. According to Noel Yuhanna, a principal analyst at Forrester Research, a secure database is a matter of process, not technology, which is why a plan is so important. Forrester recommends the following five steps, which was taken from eWeek:

1) Monitoring -- Automated monitoring tools are important because of the sheer volume of activity going on with many databases, making it impossible for someone to do it without automation.
2) Vulnerability Assessment -- Data needs to be rated according to it’s significance, and the more important it is, the better it needs to be protected. According to Forrester’s Yuhanna, “Once you classify the data, then you build a policy around it.”
3) Data Masking -- Many think you need to keep the data off the database from the very beginning. Smart users actually hide important data by overlaying false values, so the applications can continue to work normally and the important data is never exposed.
4) Encryption -- We all know how important data encryption is, but encryption still comes with what seems to be more challenges than solutions. But while encryption can be difficult to implement, encrypting key data is critical to good security practices, and also an essential element of HIPAA and PCI regulations.5) Auditing -- Very simply, security is an ongoing process, and frequent auditing will keep a company on it’s security toes and hopefully keep it out of the data-breach news.
5) Auditing -- Very simply, security is an ongoing process, and frequent auditing will keep a company on it’s security toes and hopefully keep it out of the data-breach news.

El informe comentado resalta algo conocido, que Monster evidentemente recuerda: According to Forrester Research, 80 percent of companies lack even the most basic database security plan.

martes, septiembre 04, 2007

Enseñanzas del ataque a Monster

Volviendo sobre el ataque sufrido por Monster, Chris DeVoney, en Techmentor, apunta a fallos en prevenciones que típicamente debieran tomarse en un entorno corporativo, así como a fallos de las reglas de análisis de problemas en el control; DeVoney supone que indudablemente hubo deficiencias en el análisis de comportamiento de quienes accedían a los datos:
Monster.com missed an obvious piece of the puzzle by not applying behavioral monitoring of the searches of its resume database. It is difficult to pull 1.6 million records of personal information out of a database without having some of that activity appear atypical, such as the time of day of the search or the geographic locations searched relative to the recruiter’s own sphere. That’s the purpose of database monitoring and compliance tools.
DeVoney supone que el problema nació en el eslabón más débil, el usuario externo con acceso a los datos sensibles (en este caso, los agentes de Recursos Humanos que utilizan Monster), y que políticas laxas en el acceso y seguimiento. Si bien sus afirmaciones no proceden del análisis interno del caso, probablemente no se equivoque.

lunes, septiembre 03, 2007

Seguridad en Internet, últimas noticias

Desde hace años, tengo una cuenta en Monster, que alguna vez usé para iniciar conversaciones con una empresa en Texas, y que siempre me ha servido para conocer el estado del mercado informático en Estados Unidos, Canadá, y, en menor medida, en España. Como usuario, en los últimos días recibí una nota de la compañía reconociendo que fueron blanco de un ataque que obtuvo datos de empleadores, con incertidumbre del real alcance del ataque. Ya conocía su existencia, que fue alertado también por Symantec. El punto más notable de la nota es su reconocimiento de la imposibilidad de determinar el alcance de la entrada en sus datos. Así lo comunicó Monster:
Protecting the job seekers who use our website is a top priority, and we value the trust you place in Monster. Regrettably, opportunistic criminals are increasingly using the Internet for illegitimate purposes. As is the case with many companies that maintain large databases of information, Monster is from time to time subject to attempts to illegally extract information from its database.
As you may be aware, the Monster resume database was recently the target of malicious activity that involved the illegal downloading of information such as names, addresses, phone numbers, and email addresses for some of our job seekers with resumes posted on Monster sites. Monster responded to this specific incident by conducting a comprehensive review of internal processes and procedures, notified those job seekers that their contact records had been downloaded illegally, and shut down a rogue server that was hosting these records.
The Company has determined that this incident is not the first time Monster's database has been the target of criminal activity. Due to the significant amount of uncertainty in determining which individual job seekers may have been impacted, Monster felt that it was in your best interest to take the precautionary steps of reaching out to you and all Monster job seekers regarding this issue. Monster believes illegally downloaded contact information may be used to lure job seekers into opening a "phishing" email that attempts to acquire financial information or lure job seekers into fraudulent financial transactions. This has been the case in similar attacks on other websites.
Como parte de su propósito de salvar lo que se pueda del desastre de esta entrada, Monster ofrece en la misma nota algunas ayudas en casos típicos de fraude que se podrían gestionar a partir de la información ganada por los asaltantes (es decir, lo que vendrá):
Qué dice Symantec sobre el ataque:
Yesterday, we analyzed a sample of a new Trojan, called Infostealer.Monstres, which was attempting to access the online recruitment Web site, Monster.com. It was also uploading data to a remote server. When we accessed this remote server, we found over 1.6 million entries with personal information belonging to several hundred thousand people. We were very surprised that this low profile Trojan could have attacked so many people, so we decided to investigate how the data could have been obtained.
Interestingly, only connections to the hiring.monster.com and recruiter.monster.com subdomains were being made. These subdomains belong to the “Monster for employers” only site, the section used by recruiters and human resources personnel to search for potential candidates, post jobs to Monster, et cetera. This site requires recruiters to log in to view information on candidates.
Upon further investigation, the Trojan appears to be using the (probably stolen) credentials of a number of recruiters to login to the Web site and perform searches for resumes of candidates located in certain countries or working in certain fields. The Trojan sends HTTP commands to the Monster.com Web site to navigate to the Managed Folders section. It then parses the output from a pop-up window containing the profiles of the candidates that match this recruiter’s saved searches.
The personal details of those candidates, such as name, surname, email address, country, home address, work/mobile/home phone numbers and resume ID, are then uploaded to a remote server under the control of the attackers.
This remote server held over 1.6 million entries with personal information belonging to several hundred thousands candidates, mainly based in the US, who had posted their resumes to the Monster.com Web site.
Such a large database of highly personal information is a spammer’s dream. In fact, we found the Trojan can be instructed to send spam email using a mail template downloadable from the command & control server.
The main file used by Infostealer.Monstres, ntos.exe, is also commonly used by Trojan.Gpcoder.E, and both also have a similar icon for the executable file that reproduces the Monster.com company logo—hardly a coincidence.
Furthermore, Trojan.Gpcoder.E has reportedly been spammed in Monster.com phishing emails. These emails were very realistic, containing personal information of the victims. They requested that the recipient download a Monster Job Seeker Tool, which in fact was a copy of Trojan.Gpcoder.E. This Trojan will encrypt files in the affected computer and leaves a text file requesting money to be paid to the attackers in order to decrypt the files. The code for Gpcoder is rather similar to that of Monstres, which may indicate the same hacker group is behind both Trojans.
En la medida en que la información no está en un entorno cerrado, y todo apunta a que difícilmente en el futuro esto cambiará, la exposición a riesgo de fraude sobre una empresa, organización o persona, es alta. Las normas usuales de auditoría informática han cambiado para siempre...Creo que se puede decir que antes que afirmar que nuestro entorno es seguro, primero se debe pensar que no hemos sido de interés para un ataque, o todavía no nos hemos enterado de hasta dónde ha llegado. Quien no dé importancia al problema, está en un error profundo.

domingo, abril 08, 2007

Seguridad en ISeries: Posibilidad y Realidad

SystemINetworks comenta un estudio de PowerTech sobre el estado de la seguridad en el ISeries (AKA AS400), que destaca lo que es una verdad comprobada en muchas más ocasiones de las esperables: aunque los sistemas informáticos posean buenos o muy buenos recursos de seguridad, sin políticas definidas y adhesion activa de las personas, especialmente de quienes deben supervisar y administrar, no existe control real.
El estudio de Power Tech abarca a cerca de 200 auditorías realizadas, y los principales puntos débiles destacados son:
  • 76% de los sistemas no establecieron controles sobre los accesos a datos a través de conexiones de red por hojas de cálculo o bases de datos de escritorio (Excel o Access mencionadas)
  • 10% de los usuarios obtenían acceso privilegiado a los sistemas
  • Informes confidenciales visibles para el 20% de los usuarios
  • 50% de los sistemas mantenían al menos 20 usuarios con contraseñas por omisión.
El informe, disponible en el sitio de Power Tech. Debe recordase que la empresa es parte interesada, ya que la seguridad es su negocio. No obstante, mucho pudiera hablarse sobre las realidades de las implementaciones de controles sobre el acceso a datos a nivel de la empresa privada y gubernamental.

domingo, marzo 25, 2007

McAfee: Un mapa del riesgo en Internet

McAfee elaboró un estudio del grado de riesgo al navegar en Internet, clasificando distintos tipos de problemas:

Online safety risks are a truly global issue. Yet differences in threats vary significantly by country and other factors, for example:

  • A consumer is almost 12 times more likely to encounter a drive-by-download while surfing Russian domains as Columbian ones.
  • Registering at a Web site in India results in a 4.3% chance of getting spammy e-mail. Taking the same action with a domain registered in China yields a 7.2% chance.
  • 5.2% of Vietnamese Web sites have risky downloads. Just 0.5% of Singaporean sites host such files.
  • 2.7 million times every month, casual Web surfers visit risky Dutch Web sites. Even though Hong Kong has approximately the same percentage of risky Web sites, those risky domains receive just 52,000 clicks each month.

Geographic differences give rise to important big-picture questions. For example, what level of online risk is involved as an ever greater percentage of the world's population moves online and users seek out Web sites in their native languages? Are there relatively safer or riskier country domains? Should online consumers factor in this information when searching and surfing? Can the malicious Web be mapped in a way that is interesting and useful?

McAfee can help answer these questions thanks to data from SiteAdvisor. SiteAdvisor tests web sites to keep consumers safe from spyware, spam, viruses and scams. SiteAdvisor is a free download for use with Internet Explorer and Firefox.

Consulte el mapa en SiteAdvisor.
Otros análisis realizados:
Seguridad de motores de búsqueda.
Ranking de fuentes de spyware.

SiteAdvisor, según ellos mismos:
SiteAdvisor se fundó en abril de 2005 gracias a un grupo de ingenieros del MIT que querían convertir Internet en un lugar más seguro para sus familiares y amigos. Tras pasar demasiados períodos vacacionales intentando limpiar una maraña de spam, software publicitario y software espía de los equipos de sus familias, decidimos pasar a la acción.
Nos dimos cuenta de que existía una brecha en los productos de seguridad existentes para Internet. Mientras que las empresas de seguridad tradicionales han hecho un trabajo relativamente bueno a la hora de tratar amenazas técnicas como los virus, no conseguían evitar una nueva clase de trucos de "ingeniería social" como las infecciones por software espía, estafas por robo de identidad y sitios que enviaban cantidades excesivas de correo electrónico.
Para afrontar este desafío, creamos un sistema de probadores automáticos que patrullan constantemente el Web para navegar por los sitios, descargar archivos y especificar información en los formularios de registro. Documentamos todos los resultados y los complementamos con las respuestas de nuestros usuarios, los comentarios de propietarios de sitios Web y los análisis de nuestros empleados.
Nuestro software fácil de usar para Internet Explorer y Firefox resume nuestros resultados de seguridad en clasificaciones en rojo, amarillo y verde intuitivas para ayudar a los usuarios de sitios Web a permanecer a salvo mientras buscan, navegan y realizan transacciones en línea. Nuestro objetivo es ser los primeros en establecer un nuevo método de seguridad en el Web y en convertir Internet en un lugar más seguro para todos.
El 5 de abril de 2006 anunciamos que McAfee, Inc. nos había adquirido. La unión con McAfee nos proporcionó un alcance mucho mayor en todo el mundo, acceso a la tecnología de seguridad líder de McAfee y muchos más recursos para acelerar el desarrollo de funciones para nuestros numerosos usuarios.
SiteAdvisor tiene cuestionamientos que pueden ser estudiados en Wikipedia.
[Visto en Terra].

domingo, marzo 11, 2007

la seguridad en el ISeries

...y ya que mencionamos al ISeries (AKA AS/400) a propósito del PHP, un "viejo" artículo de Phil Edwards, ayuda a pesar las fortalezas y debilidades del equipo. Vale la consideración dados los conocidos problemas de seguridad de PHP. ¿hasta qué punto puede afectar al AS/400?. En principio, como se afirma de Linux, se trata de un conjunto no nativo, con su propio nivel de problemas, y el ISeries debe monitorearlo como otro objeto o conjunto de objetos.
Lo esencial del artículo de Edwards:

Security is one of the AS/400’s strong points. The architecture of OS/400 makes it immune from the kind of malicious executable code which often spreads over the Net – viruses, worms and Trojan horses. The hackers who have caused havoc on Windows NT and Unix systems can’t do anything with the AS/400, even assuming they know it exists. Even on the Internet, there are no back doors into an AS/400: thanks to OS/400’s native security, every approach is blocked by user-level access control. In short, security worries can be left to the Windows crowd: AS/400 users don’t even need a security policy.
The first sentence of the previous paragraph is true: whether in the office or on the Net, OS/400 is preferable to almost any other operating system in security terms, and vastly preferable to Windows NT. Unfortunately, the rest of the paragraph contains three half-truths and a lie. The time to put your feet up and forget about security hasn’t yet come. The AS/400 is good, but it’s not quite that good.

Tres verdades a medias: "a prueba de virus", "los hackers no conocen al AS/400", "el AS/400 no tiene puertas traseras".
Virus:

The world of Windows is infested with ever more sophisticated viruses: blocks of code which attach themselves to other files when an infected file is executed or opened. Before there were viruses, Unix administrators were familiar with worms (programs which copy themselves when executed) and Trojan horses (programs which imitate normal functionality while carrying out other tasks). All of these are peculiarly difficult to achieve under OS/400.

However, ‘difficult’ doesn’t mean ‘impossible’. OS/400 is harder to fool than Unix (which in turn is more secure than Windows NT), but techniques for bypassing its internal security measures are known. (...). To create a Trojan horse program, for instance, a malicious programmer would only need access to the CRTCMD command and authority over a product library. If a command run from a product library calls a second command with an unqualified name, the system will look for the command in the product library. A command could thus be created in the product library with the same name as a system command. The duplicate command would run every time the command was invoked by a program running from the product library; when the command was run normally, the original version would be used.

Preventing this from happening is a simple matter of restricting access to CRTCMD and CHGCMD, and perhaps also ensuring that commands are called using fully qualified names. However, the risk is real. Even the creation of a worm or a virus for OS/400 cannot be entirely ruled out, although it would be orders of magnitude more difficult than doing the same thing under Unix.

It’s also possible for the AS/400 to store virus-infected PC documents and Domino documents containing macro viruses in the Integrated File System. The viruses will not be activated under OS/400, but they will be sent unchanged to Windows clients.

Los hackers:

“Other than the default accounts that tend to use the same password as the username (which any admin worth the title will have changed), I would recommend [the AS/400] to anybody running a web server.” - ThePsyko (thepsyko@itookmyprozac.com), writing in newsgroup alt.hackers.malicious

The menace of hackers is often overstated; many security specialists regard most hackers as a nuisance rather than a serious threat to business. “If hackers do get into your system they’re more likely to want to use your machine time and storage space than steal your data. Mostly they’re joyriders rather than industrial spies,” says John Earl of PowerTech. Either way, to date hackers seem to have largely steered clear of the AS/400, as ThePsyko’s comment suggests. The web site http://www.attrition.org records 2,825 web sites ‘defaced’ by hackers between January and the end of July 2000. No attacks on AS/400 sites are recorded, compared with 1,831 sites running Windows NT, 476 running Linux and 416 running mainstream variants of Unix (including one AIX site).
However, this lack of attention in itself shouldn’t be seen as proving that the AS/400 is hackproof. “If you’re in business on the web, you aren’t exposing your system to a user here and a user there - you’re open to the world,” says IBM’s Carol Woodbury. “And you’re probably going to be attacked: there are some odd people out there who get their jollies from doing that kind of thing. Even if all your data is secure, your site could still be brought down by a denial of service attack (in which a web site is overloaded with dummy connection requests). That means lost business, the same as any other crash.”
Nor does the lack of information on successful hacks of the AS/400 mean that there have been no successful hacks. Information on IT security breaches is published by the Computer Emergency Response Team (CERT). However, as Woodbury told NEWS/400 in 1999, “We take a different tack than CERT does, which describes the problem and then says, ‘here are the patches.’ We just say, ‘here are the patches.’”. Security breaches are addressed by HIPER (High﷓Impact Pervasive) PTFs; the problem addressed by the PTF is described in one or two lines of laconic IBM tech-speak.

Puertas traseras:

“OS/400 is a highly secure operating system,” says Earl. “Rochester really started taking security seriously with OS/400 V3R7, and since then they’ve done an outstanding job.” Login in to an AS/400 requires a valid user name and password; user passwords are encrypted and cannot be cracked. Once logged in, access to data is rigidly controlled by the operating system, which enforces object-level authorities and access rights. The problem is that, in practice, these two forms of access control are usually supplemented by a third, dating from the pre-V3R7 days when level 10 security was the default: the menu system, which steers users through a range of permissible actions. The more emphasis your applications place on the menu system, the more vulnerable you are to unauthorised activity.

Earl explains. “Most AS/400 applications have one user profile which owns all the objects used by the application, and one group profile for all users. That’s fine in itself; the problems start when those two are the same profile. That means that every user has access to everything: access is controlled by the menu system. The trouble is, if you’re accessing the AS/400 using FTP you won’t see those menus.”

FTP (File Transfer Protocol) is a standard protocol for transferring data over TCP/IP. It is implemented on the AS/400 as a ‘service’, a program which is started up at IPL, remains continually available in the background and can be invoked by a user session or an application program. There are three points at which control is transferred to and from FTP:

· QIBM_QTMF_SVR_LOGON (FTP Server Logon)

· QIBM_QTMF_CLIENT_REQ (FTP Client Request Validation) and

· QIBM_QTMF_SERVER_REQ (FTP Server Request Validation)

Each of these exit points represents a potential hole which needs to be plugged. The way to do this is with “exit programs”: dedicated programs, registered with WRKREGINF for use with a specific exit point, which handle the transfer of control to FTP, validating the username and the requests made. There are two reasons for taking exit programs seriously. Firstly, they give the administrator detailed, fine-grained control over FTP: programs can be written to restrict certain users to particular directories or functions, to reject login attempts from unknown IP addresses, or even to extend the capabilities of FTP by permitting controlled login by anonymous users (not permitted by the AS/400, but near-essential if you’re using FTP on a web site). Secondly, if you don’t implement an exit program somebody else may do it for you. An exit program receives parameters from the user, executes some code to process them, then passes a request to the - and that second step is open to abuse. The sample code printed in phrack would enable any hacker with access to the AS/400 to run system-level commands in the guise of an attempted FTP login: the log file would record a failed login by a user called CRTDTAARA, for instance, while in fact the system was running a CRTDTAARA command under another user name.

Increased levels of complexity within the organisation also create security exposures. “A firewall – a box which sits between your server and the Internet and vets Net traffic – is a good thing to have, but it’s only effective at a single point,” warns Ian Kilpatrick of Wick Hill. “Many companies have multiple user departments using Internet connections to link up directly with different business partners – suppliers, distributors, outsourcing agencies. Addressing the security implications of all those connections requires an understanding of the whole of the company’s business. The old AS/400 network model is dissolving within the company as well: with more and more interconnected systems, there are more and more security exposures. As intranets become more pervasive, we’re starting to see companies implementing departmental firewalls. It may sound like overkill, but who do you want to protect your payroll database from – the teenage hacker outside the organisation or the disaffected employee inside it?”

Even traditional AS/400 applications are now raising security issues. “People have an ERP application, and suddenly they’re not looking at green screens any more,” says Jan Juul of PentaSafe. “They support ODBC querying, they have web﷓based intranet interfaces, they have print jobs routed through PCs for WYSIWYG formatting. All of those leave back doors open into the AS/400.” ODBC and JDBC enable PC users to run SQL commands against DB2/400; Client Access and even DDM open up the AS/400 to external clients. Exit point programs can be implemented for all of these access points. “You can’t rely solely on OS/400 security,” says Andy Coates of R/Utility. “Users can easily bypass the menu and application program security by using a PC connection. The problem is becoming widespread with more power users in organisations using spreadsheets and so on. Users are becoming adept at accessing the data they require; quite often this gives them access to data they should not have access to.”

It’s also worth noting that, as the references to FTP and TCP/IP suggest, OS/400 itself has changed. “As the AS/400 has progressively moved further into the world of ‘open systems’ it’s become progressively less secure,” says Juul. Nor is this progression over yet. “Future releases of WebSphere on the AS/400 are going to be based on the open source web server Apache,” says Juul. “It won’t be a simple port of Apache to the AS/400: it will be an AS/400 web server, encapsulated within the operating system. But there is a high level of knowledge about Apache in the hacker community, and having an HTTP server based on Apache has to create some additional exposures.”

The AS/400’s days as a closed, departmental network server are gone - and its status as a proprietary island of secure information with it. “Security on the AS/400 is built on the model of an internal network where everyone knows who everyone is,” comments Juul. “The design doesn’t cater for unknown users.”

Por supuesto, Edwards es optimista en cuanto a la posibilidad de controlar el riesgo:
The good news is that, even on the Internet, the AS/400 is securable to a higher level than Windows NT or most variants of Unix. Ironically, the inflated fears which have encompassed the growth of e-business may have made it harder to consider how to address the real issues of security, on and off the Net. “Security isn’t that hard,” says Earl. “It just needs a bit of attention. The main thing is not to be scared of thinking about it. There are identifiable risks, and there are things you can do to minimise them: the point is to quantify the risk and the expenditure, and find the point at which the cost of taking precautions is more acceptable than the potential cost of the exposure.”
(...)

“The key requirement for information security policy is, simply, to have a policy,” says Kilpatrick. “A security policy worthy of the name needs to be detailed: ‘Don’t give away company secrets’ isn’t a policy. And it needs to be live. That means it’s up to date – those paragraphs about the secure disposal of typewriter ribbons can go – and it’s in force throughout the organisation: there’s no point formulating a security policy if it’s going to sit in a ring-binder on somebody’s shelf. Information security needs to be taken as seriously – and managed as formally – as physical security.” This point is echoed by Spencer Pratt of Internet security specialists Defcom. “As well as monitoring intrusion attempts, you need procedures for dealing with potential intrusions, including an escalation procedure. When do you talk to the press about a security breach and when do you try to keep it quiet? If your systems are hacked, do you want to prosecute or do you just want to make sure it doesn’t happen again?” Taking security seriously means treating it as an issue affecting the whole business.

So, what can you do? Focusing specifically on the AS/400, there are three main recommendations: deploy object﷓level security; limit non-AS/400 access; and implement a monitoring system.

domingo, febrero 25, 2007

Informit: Cómo robar 80.000 identidades en un día

Cyrus Peikary y Seth Fogie, autores de la guía de seguridad de Informit, explican el seguimiento y detección de un caso de acceso ilegal a una red, y cómo se obtuvo su base de datos completa de clientes:
Summary of the Attack
So, let's put this all together. The attacker wanted to gain access to AMS's database. So, they found one of a handful of people that would be guaranteed to have full access to the data they desired — Dr. Smith. They followed Dr. Smith around and discovered that she used a public hotspot every day for about a half hour. The attacker then waited until a vulnerability was found for Internet Explorer, and injected an exploit into her browser using a freely available program called airpwn. This allowed the attacker to infect Dr. Smiths computer with a Trojan and keylogger. Later that day, Dr. Smith took her laptop home and logged into AMS's network, all of which was captured by the keylogger. The customized Trojan allowed the attacker to connect to the infected computer, read the keylogger file, and log in to the corporate network via the VPN. Then using the borrowed credentials, was able to connect to the database, and download the records for 80,000 people.

Lessons Learned
The attack was made possible due to three main issues. First, antivirus programs are not fool proof. The Trojan slipped through the cracks because it was customized, and as such, not recognized by the protection software. Second, using a public hotspot is dangerous. There are several ways for an attacker to hijack or inject malicious content into a connection. Third, while there were complex security controls in place, the weakest link was a simple username and password — and these forms of credentials are often guessable or easy to steal.
Fortunately for AMS, the attacker was apprehended because they failed to notice a security camera at the ATM outside the coffee shop. In addition, the website that the data was posted to was within the United States, and was quickly shutdown. The logs for the web server were reviewed and each person who had viewed the content was questioned. While it was still possible that the data could be leaked at a later date, AMS and the FBI were fairly certain that the breach had been plugged and the threat of identity theft was minimal.
But what if the attacker had gotten away with it?

jueves, enero 18, 2007

Parche de seguridad en el ISeries

IMB publica y distribuye varios parches destinados a resolver un agujero de seguridad en el OS/400, en el i5/OS V5R3 y V5R3M5.
The problem, called the OS/400 Connection Reset Denial of Service Vulnerability, can be exploited by hackers to reset established TCP connections on iSeries and System i servers, according to security firm Secunia, which gave the vulnerability a "less critical" rating.
El ISeries (aka AS/400) raramente es afectado por problemas de seguridad, descontando aquellos que provienen de una configuración impropia: El ISeries maneja cinco niveles de seguridad, comenzando por los niveles diez y veinte, demasiado abiertos, y alcanzando el nivel 50, prácticamente inviolable.
Security vulnerabilities like this are a rare occurrence for OS/400, which is widely regarded to be one of the most--if not the most--secure operating systems in use. While it's not in any danger of becoming like every hackers' favorite target, Microsoft Windows, anytime soon, IBM OS/400 does occasionally make news with a vulnerability.
(...) OS/400 is not without its weaknesses--especially when it comes to implementing standards-based protocols that turn out to have security holes. But when properly configured, OS/400 is practically hacker proof. Its highly regimented access controls make it very difficult for a hacker who's unfamiliar with the system to break it, and its object oriented design make it highly resistant to conventional viruses. In fact, there has never been a documented virus afflicting OS/400 (although security researchers say it's not impossible to create one).

Unfortunately, while security is one of OS/400's strengths, many companies don't take the time to properly configure their server's security settings--either from lack of time and knowledge or a mistaken reliance on the box's security capabilities--leaving them open to problems down the road. For a sobering look at the slipshod approach to security at many OS/400 shops, check out our story on security software developer PowerTech's most recent state of OS/400 security report.

domingo, noviembre 05, 2006

Seguridad en aplicaciones web

Para completar las referencias a Read y Fogie, su artículo sobre la seguridad en aplicaciones web, en general. Constituye una guía concisa y básica de los problemas usuales que se deben resolver en una aplicación web, desde el punto de vista de la seguridad. Yendo un poco más lejos, es extensible a todo tipo de aplicaciones. En resúmen:

* ExpandUnexpected Input
* ExpandAdministrator Error
* ExpandAccount Control and Management
* Expand Ensuring Data Availability Compliance with WebWatchBot
* ExpandXSS Explored
* ExpandXSS Evolved
* ExpandLearning How to Burp – The Web Application Testing Proxy
* ExpandCode Injection Explained new