The invention relates to an active oscillating guidewire (26) with varying stiffness to enable a safe crossing through an occluded vessel. The distal working zone (28) is made up of several distal segments (32, 34, 36, 38). A miniature engine is embedded in a segment (34).